summaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Revert "When we pull in a cacheline, we should use it too."Harald Musum2020-06-0810-211/+7
|
* - Stick to void * and byte offsets.Henning Baldersheim2020-06-0710-31/+37
| | | | - Correct spelling error.
* - Test both normal and inverted bit vectors.Henning Baldersheim2020-06-071-34/+70
| | | | | - Use 64 byte alignment of buffer. - Improve error messages.
* When we pull in a cacheline, we should use it too.Henning Baldersheim2020-06-049-3/+165
| | | | There is possibly wasting 7/8 of it and very likely suffer a cache miss.
* rename regex option MultiLine -> DotMatchesNewlineArne Juul2020-05-282-4/+4
|
* add multiline regex optionArne Juul2020-05-282-1/+5
|
* Merge pull request #13368 from ↵Tor Brede Vekterli2020-05-261-0/+8
|\ | | | | | | | | vespa-engine/toregge/detect-clang-version-of-address-sanitizer Detect use of clang version of address sanitizer.
| * Detect use of clang version of address sanitizer.Tor Egge2020-05-251-0/+8
| |
* | Keep const qualifier for allocator() return value.Tor Egge2020-05-251-1/+1
|/
* Disable rlimit checking tests when using address sanitizer.Tor Egge2020-05-241-0/+2
|
* Use correct argument for length of vector.Henning Baldersheim2020-05-121-1/+1
|
* Revert "Revert "Use a smart allocator for allocating memory for large 'long' ↵Henning Baldersheim2020-05-1110-22/+92
| | | | lived""
* Revert "Use a smart allocator for allocating memory for large 'long' lived"Harald Musum2020-05-1110-92/+22
|
* Implemtent equality operator.Henning Baldersheim2020-05-111-2/+10
|
* Use a smart allocator for allocating memory for large 'long' livedHenning Baldersheim2020-05-1110-22/+84
| | | | | vectors. Large vectors will be allocated directly with mmap. This cancels the main reason for using vespalib::Array.
* Try to hide implementation.Henning Baldersheim2020-05-101-3/+1
|
* Rename namespace search::btree to vespalib::btree.Tor Egge2020-05-04109-139/+139
| | | | Rename namespace search::datastore to vespalib::datastore.
* Prepare for renaming namespace search::btree to vespalib::btree andTor Egge2020-04-281-3/+1
| | | | namespace search::datastore to vespalib::datastore.
* Remove bad namespace end comments.Tor Egge2020-04-282-3/+2
|
* Merge pull request #13066 from ↵Geir Storli2020-04-274-94/+0
|\ | | | | | | | | vespa-engine/toregge/move-bufferwriter-back-to-searchlib Move BufferWriter back to searchlib.
| * Move BufferWriter back to searchlib.Tor Egge2020-04-254-94/+0
| |
* | Merge pull request #13063 from vespa-engine/toregge/extend-btree-frozen-viewGeir Storli2020-04-273-0/+28
|\ \ | |/ |/| Extend BTree frozen view with empty() and getAggregated() methods.
| * Extend BTree frozen view with empty() and getAggregated() methods.Tor Egge2020-04-253-0/+28
| |
* | Reduce code duplication. Rand48 class is in vespalib.Tor Egge2020-04-254-7/+9
|/
* Merge pull request #13034 from ↵Tor Brede Vekterli2020-04-248-24/+109
|\ | | | | | | | | vespa-engine/vekterli/support-aggregating-over-btree-keys Add support for aggregating over B-tree keys
| * Rename variable to be semantically accurateTor Brede Vekterli2020-04-231-4/+4
| |
| * Add support for aggregating over B-tree keysTor Brede Vekterli2020-04-238-24/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This complements the existing support for aggregating over values. Let aggregate calculator specify whether it expects to be invoked with keys or values. In the current implementation there is some code duplication that could have been removed by using e.g. tag dispatch, but this is a pragmatic choice intended to guarantee these changes do not introduce any performance regressions for existing code using value aggregation. Can be refactored later once we have a functional baseline with this for both keys and values.
* | If compiler is clang then disable the clock computation hack.Tor Egge2020-04-231-0/+3
| |
* | Fix buffer overflow in vespalib datastore buffer type test.Tor Egge2020-04-221-3/+3
| |
* | Merge pull request #12980 from vespa-engine/fix-foreach-variable-replacementArne H Juul2020-04-225-0/+99
|\ \ | | | | | | Fix foreach variable replacement
| * | cosmetic fixes in unit testArne Juul2020-04-201-1/+7
| | |
| * | add utility for replacing a variable in a stringArne Juul2020-04-205-0/+93
| | |
* | | A failed attempt at unlinking a directory causes another exceptionTor Egge2020-04-211-0/+4
| | | | | | | | | | | | | | | on Darwin due to unlink system call returning a different error code.
* | | Merge pull request #13002 from ↵Henning Baldersheim2020-04-211-0/+3
|\ \ \ | | | | | | | | | | | | | | | | vespa-engine/toregge/use-extended-locale-support-on-non-linux-platform Use extended locale support on non-linux platforms.
| * | | Use extended locale support on non-linux platforms.Tor Egge2020-04-211-0/+3
| | |/ | |/|
* / | Directio support in vespa is limited to linux.Tor Egge2020-04-211-0/+4
|/ /
* | Merge pull request #12997 from ↵Tor Brede Vekterli2020-04-218-50/+47
|\ \ | | | | | | | | | | | | vespa-engine/vekterli/constexpr-ifs-for-most-aggregation-call-sites Make most hasAggregated checks constexpr
| * | Make most hasAggregated checks constexprTor Brede Vekterli2020-04-218-50/+47
| |/ | | | | | | | | Was previously _effectively_ constexpr so not likely to improve code generation in practice, but it's good to be explicit.
* | GC unused code.Henning Baldersheim2020-04-212-114/+0
| |
* | Elaborate a bit more in the comment.Henning Baldersheim2020-04-211-2/+7
| |
* | Revert "Revert "There are so many combinations that the libstdc++ library ↵Henning Baldersheim2020-04-211-0/+26
| | | | | | | | can be buil…""
* | Revert "There are so many combinations that the libstdc++ library can be ↵Henning Baldersheim2020-04-211-26/+0
| | | | | | | | buil…"
* | There are so many combinations that the libstdc++ library can be built that ↵Henning Baldersheim2020-04-201-0/+26
| | | | | | | | | | | | | | the performance you get from std::chrono::system_clock and stxad::chrono::steady_clock has a dramatic performance difference. On RHEL7/Centos with an witout this patch is 18ns vs 550ns.
* | Merge pull request #12985 from ↵Henning Baldersheim2020-04-201-1/+1
|\ \ | | | | | | | | | | | | vespa-engine/toregge/handle-sh-builtin-echo-on-darwin Handle version of echo not understanding -n option.
| * | Don't use shell builtin echo.Tor Egge2020-04-201-5/+1
| | |
| * | Handle version of echo not understanding -n option.Tor Egge2020-04-201-0/+4
| |/
* / posix_fadvise() is not generally available.Tor Egge2020-04-201-0/+2
|/
* Merge pull request #12979 from vespa-engine/toregge/proc-stat-is-linux-specificHenning Baldersheim2020-04-191-0/+2
|\ | | | | /proc/stat is linux specific.
| * /proc/stat is linux specific.Tor Egge2020-04-191-0/+2
| |
* | MAP_HUGETLB and MADV_DONTDUMP are linux specific.Tor Egge2020-04-191-0/+6
|/