aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13563 from ↵Geir Storli2020-06-153-0/+213
|\ | | | | | | | | vespa-engine/toregge/add-foreach-key-range-method-to-btree-iterator Add foreach_key_range method to btree iterator, to scan a range of
| * Add comments for foreach_key_range() method and related methods.Tor Egge2020-06-122-0/+30
| |
| * Add foreach_key_range method to btree iterator, to scan a range ofTor Egge2020-06-123-0/+183
| | | | | | | | the tree and call function for each key.
* | Merge pull request #13579 from vespa-engine/havardpe/auto-detect-type-existenceHåvard Pettersen2020-06-153-19/+49
|\ \ | | | | | | auto-detect actual type typify results
| * | make type type member detection a generic trait and test itHåvard Pettersen2020-06-133-13/+27
| | |
| * | auto-detect actual type typify resultsHåvard Pettersen2020-06-131-12/+28
| |/
* / avoid deadlock when using compile cache with blocking executorsHåvard Pettersen2020-06-141-1/+1
|/ | | | | | | | - avoid taking cache lock in compile task destructor - avoid holding cache lock while posting compile task - add unit test trying to provoke deadlock - bonus: fix blocking executor implementation (did not work with threads <= task limit)
* minor naming adjustmentsHåvard Pettersen2020-06-111-7/+7
|
* common code for operation inliningHåvard Pettersen2020-06-114-1/+231
| | | | | | | | | | - add common code to make selecting the appropriate template function easier (vespa/vespalib/util/typify.h) - enable detection of lambda functions matching all low-level operations. (lookup_op1, lookup_op2) - add typifiers to decide which low-level operations should be inlined (TypifyOp1, TypifyOp2) - integrate into dense_simple_join as a pilot customer
* Add static_assert for sanity of template arguments.Henning Baldersheim2020-06-091-0/+4
|
* Revert "Revert "When we pull in a cacheline, we should use it too.""Henning Baldersheim2020-06-0810-7/+211
|
* 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
| |