summaryrefslogtreecommitdiffstats
path: root/vespalib
Commit message (Collapse)AuthorAgeFilesLines
* added simple program to probe io_uring supportHåvard Pettersen2022-12-014-0/+107
|
* avoid race caused by using 'accepted' after destructionHåvard Pettersen2022-11-301-3/+4
| | | | | | also tag await_suspend functions with noinline to make sure clang does not put local variables into the coroutine state (this was only an issue for try_schedule).
* Merge pull request #25015 from vespa-engine/havardpe/generator-internal-typesGeir Storli2022-11-285-53/+88
|\ | | | | align internal generator types with std::generator proposal
| * align internal generator types with std::generator proposalHåvard Pettersen2022-11-285-53/+88
| |
* | Add shared constant for PAGE_SIZE.Geir Storli2022-11-252-2/+5
|/
* Merge pull request #24958 from ↵Håvard Pettersen2022-11-243-135/+116
|\ | | | | | | | | vespa-engine/havardpe/the-hunt-for-fast-generators hunting for fast (compiler inlined) generators
| * make gcc happyHåvard Pettersen2022-11-241-2/+2
| |
| * hunting for fast (compiler inlined) generatorsHåvard Pettersen2022-11-213-135/+116
| | | | | | | | | | | | | | - drop support for recursive generators to allow better inlining - a bit more noexcept where possible - 'recursive' -> 'nested' when testing generators - drop iterator '->' operator since it is optional
* | Improve comment and cleanup duplicate openhft dependency managementHenning Baldersheim2022-11-211-1/+1
|/
* Add static_assert on sizeHenning Baldersheim2022-11-211-0/+1
|
* Use XXH3 to instead of java hash. Also filter away NaN.Henning Baldersheim2022-11-201-4/+8
|
* Separate where you nede an actual hash, and where you want the string hashed ↵Henning Baldersheim2022-11-203-6/+6
| | | | to a double.
* Merge pull request #24925 from vespa-engine/havardpe/make-clang-happyTor Egge2022-11-181-1/+1
|\ | | | | make clang happy
| * make clang happyHåvard Pettersen2022-11-181-1/+1
| |
* | Drop support for old gtest.Tor Egge2022-11-185-24/+12
|/
* test with both references and valuesHåvard Pettersen2022-11-171-2/+21
| | | | also check actual results
* avoid copying generated valuesHåvard Pettersen2022-11-151-1/+1
|
* adjust generator benchHåvard Pettersen2022-11-151-29/+70
| | | | also benchmark Sequence alternative
* Add class to track mapping from docid to [nodeid] used in hnsw index.Geir Storli2022-11-142-3/+9
| | | | This class is to be used when supporting multiple vectors per document.
* Merge pull request #24803 from vespa-engine/toregge/add-hnsw-simple-nodeTor Egge2022-11-092-0/+10
|\ | | | | Add HnswSimpleNode.
| * Add HnswSimpleNode.Tor Egge2022-11-092-0/+10
| |
* | Merge pull request #24790 from ↵Håvard Pettersen2022-11-097-91/+268
|\ \ | |/ |/| | | | | vespa-engine/havardpe/lazy-pre-received-return-value-forwarding return value forwarding for Lazy<T>
| * Update vespalib/src/vespa/vespalib/coro/completion.hHenning Baldersheim2022-11-081-1/+1
| | | | | | Co-authored-by: Geir Storli <geirst@yahooinc.com>
| * use rvalue variant of get_valueHåvard Pettersen2022-11-081-1/+1
| |
| * return value forwarding for Lazy<T>Håvard Pettersen2022-11-087-91/+268
| |
* | Merge pull request #24778 from vespa-engine/havardpe/generator-micro-benchHenning Baldersheim2022-11-083-0/+66
|\ \ | |/ |/| added simple micro-bench to show generator overhead
| * added simple micro-bench to show generator overheadHåvard Pettersen2022-11-073-0/+66
| |
* | do not stand in the way of return value optimizationHåvard Pettersen2022-11-041-1/+1
| |
* | wait for the completion of a Lazy<T> in non-coroutine codeHåvard Pettersen2022-11-046-68/+209
|/
* enable scheduling a coroutine on an executorHåvard Pettersen2022-11-022-30/+111
|
* Remove ReusableSetPool.Tor Egge2022-10-2510-376/+0
|
* Replace the global variable vespalib::test::local_spec with the functionTor Egge2022-10-225-9/+11
| | | | vespalib::test::make_local_spec().
* delete copy yield awaiter copy constructor explicitlyHåvard Pettersen2022-10-211-0/+1
|
* generator coroutine return valueHåvard Pettersen2022-10-194-0/+394
|
* Small array is most likely.Henning Baldersheim2022-10-181-1/+1
|
* Ref [[unlikely]] not valid.Henning Baldersheim2022-10-181-1/+1
|
* - Use unique_ptr to hide FuzzyMatcher to make most common SearchContext smaller.Henning Baldersheim2022-10-172-7/+6
| | | | - GC unused stringattribute files.
* - Always check if enough space to write.Henning Baldersheim2022-10-171-1/+2
| | | | | | - Split large initSortData method. - make buffer resizing explicit and readable. - Make a better initial estimate for buffer size.
* Stop bypassing hold list for btree nodes that were never reachable for readers.Tor Egge2022-10-147-45/+16
|
* Add fallback variant when std::jthread is not available. (#24440)Tor Egge2022-10-141-2/+5
| | | | | * just use thread instead Co-authored-by: Håvard Pettersen <havardpe@yahooinc.com>
* Adjust expected size for array store when using libc++.Tor Egge2022-10-141-1/+1
|
* Use the generic CompactionContext in ArrayStore.Geir Storli2022-10-133-38/+13
|
* Merge pull request #24423 from ↵Henning Baldersheim2022-10-131-6/+5
|\ | | | | | | | | vespa-engine/havardpe/better-return-value-handling unify return value handling using universal references
| * unify return value handling using universal referencesHåvard Pettersen2022-10-131-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | the requires clause is there to make sure we are only allowed to return values that are implicitly convertible to T; this will avoid calling explicit constructors 'implicitly' (as seem from the co_return statement). (the internal optional requires assignability to also cover the case where the value is not constructed, but overwritten, which probably imposes a similar restriction, but if we stop using optional, the require becomes more useful)
* | Merge pull request #24419 from vespa-engine/geirst/hash-map-hold-listTor Egge2022-10-132-48/+35
|\ \ | |/ |/| Use the generic generation hold list for node indexes.
| * Use the generic generation hold list for node indexes.Geir Storli2022-10-132-48/+35
| |
* | add suppression and make saferHåvard Pettersen2022-10-131-5/+5
| | | | | | | | | | | | - add new valgrind suppression variant for leaked thread stack cache - hold lock while editing list of threads - use jthread for join in destructor
* | Apply suggestions from code review Håvard Pettersen2022-10-131-3/+3
| | | | | | | | | | typos Co-authored-by: Tor Brede Vekterli <vekterli@yahooinc.com>
* | Merge branch 'master' into havardpe/more-coroutinesHåvard Pettersen2022-10-1344-253/+255
|\|
| * Merge pull request #24412 from ↵Henning Baldersheim2022-10-121-2/+2
| |\ | | | | | | | | | | | | vespa-engine/toregge/avoid-shadowing-warning-with-clang-15 Avoid shadowing warning with clang 15.