Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ignore clang warning (-Wself-assign-overloaded). | Tor Egge | 2021-01-11 | 1 | -0/+7 |
| | |||||
* | Merge pull request #15991 from ↵ | Henning Baldersheim | 2021-01-11 | 1 | -2/+2 |
|\ | | | | | | | | | vespa-engine/toregge/buffertype-class-has-two-template-arguments BufferType class has two template arguments. | ||||
| * | BufferType class has two template arguments. | Tor Egge | 2021-01-11 | 1 | -2/+2 |
| | | |||||
* | | Use 8 bits for _state field. | Tor Egge | 2021-01-11 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #15986 from vespa-engine/havardpe/string-id-cleanup | Arne H Juul | 2021-01-11 | 4 | -121/+283 |
|\ | | | | | add string_id and simplify multi-handle container | ||||
| * | fixup after PR comments | Håvard Pettersen | 2021-01-11 | 3 | -2/+10 |
| | | |||||
| * | add string_id and simplify multi-handle container | Håvard Pettersen | 2021-01-11 | 4 | -121/+275 |
| | | | | | | | | | | | | | | add more testing static instance instead of lazy singleton use logging for leak detection drop label_t type alias | ||||
* | | Update test and add instantiations. | Henning Baldersheim | 2021-01-11 | 2 | -6/+6 |
| | | |||||
* | | ElemCount must be larger than 32 bits. | Henning Baldersheim | 2021-01-10 | 1 | -1/+1 |
| | | |||||
* | | Update copyright. | Henning Baldersheim | 2021-01-10 | 1 | -1/+1 |
| | | |||||
* | | Update copyright. | Henning Baldersheim | 2021-01-10 | 2 | -2/+2 |
| | | |||||
* | | Add eol | Henning Baldersheim | 2021-01-10 | 3 | -3/+3 |
| | | |||||
* | | Have the BufferType::_emptyEntry be static. | Henning Baldersheim | 2021-01-10 | 26 | -190/+365 |
| | | | | | | | | Use an array of buffer types in the array class. | ||||
* | | The bufferstate vector normally has 8k elements. Since the BufferState was ↵ | Henning Baldersheim | 2021-01-10 | 5 | -74/+87 |
|/ | | | | | | | | 160 bytes this is aroung 1.2M. This reduces the BufferState to 128 making it fit nicely in a 1M allocation. However the cost is that you get an extra small allocation for the _freeList. We should see if we could reclain that by further reducing the size of the BufferState. Perhaps the element count will be sufficient with uint32_t. | ||||
* | use string ids as tensor labels | Håvard Pettersen | 2021-01-05 | 2 | -21/+88 |
| | |||||
* | Include algorithm header file when needed. | Tor Egge | 2021-01-04 | 1 | -0/+1 |
| | |||||
* | Add braces for conditional statements. | Tor Egge | 2021-01-04 | 1 | -2/+3 |
| | |||||
* | Merge pull request #15887 from vespa-engine/arnej/abort-instead-of-infinite-loop | Tor Egge | 2021-01-04 | 1 | -3/+14 |
|\ | | | | | avoid infinite loop | ||||
| * | avoid infinite loop | Arne Juul | 2021-01-04 | 1 | -3/+14 |
| | | | | | | | | | | * try all possible buffer ids, if none are free abort(). This instead of spinning in an infinite loop. | ||||
* | | Add noexcept specifier to vespalib::string compare operators. | Tor Egge | 2021-01-04 | 1 | -20/+20 |
|/ | |||||
* | Merge pull request #15816 from ↵ | Henning Baldersheim | 2020-12-15 | 3 | -0/+14 |
|\ | | | | | | | | | vespa-engine/geirst/executor-threading-service-explorer Add explorer for the ExecutorThreadingService used in a document data… | ||||
| * | Add explorer for the ExecutorThreadingService used in a document database. | Geir Storli | 2020-12-15 | 3 | -0/+14 |
| | | |||||
* | | Only let reindexing puts through locked bucket if their token matches that ↵ | Tor Brede Vekterli | 2020-12-11 | 3 | -0/+25 |
|/ | | | | | | | | | | | of the lock Avoids race condition edge case where reindexing puts from an outdated visitor may pass through a bucket lock intended for a newly created visitor operation Tokens are 128-bit values derived from a CSPRNG, so uniqueness is for all intents and purposes guaranteed. | ||||
* | Simplify simple method to find next hashtable size. | Henning Baldersheim | 2020-12-07 | 2 | -23/+6 |
| | |||||
* | some more shared string repo experiments | Håvard Pettersen | 2020-12-07 | 3 | -30/+165 |
| | | | | | | | | | - use linked free list - wait with string overwrite until re-use - benchmark copy+hash and local-enum as well - experiment with hashtable force_insert - also benchmark strong/weak handle containers - benchmark for longer, since there are many things | ||||
* | Use Select1st | Henning Baldersheim | 2020-12-07 | 1 | -7/+3 |
| | |||||
* | Expect that all are present after resize too. | Henning Baldersheim | 2020-12-07 | 1 | -1/+8 |
| | |||||
* | Add a force_insert method to the hash_table. It is faster as it skips the ↵ | Henning Baldersheim | 2020-12-07 | 3 | -3/+71 |
| | | | | | | | presence check and avoid equality compare. It allows duplicates and should hence be used carefully. At least resize will be faster as it it can safely be used there. | ||||
* | Merge pull request #15708 from vespa-engine/havardpe/avoid-extra-check | Henning Baldersheim | 2020-12-07 | 1 | -4/+1 |
|\ | | | | | avoid unneeded check | ||||
| * | avoid unneeded check | Håvard Pettersen | 2020-12-07 | 1 | -4/+1 |
| | | |||||
* | | Merge pull request #15695 from vespa-engine/balder/optional-wakeup-handling | Henning Baldersheim | 2020-12-07 | 2 | -2/+11 |
|\ \ | | | | | | | Only handle wakeup if necessary. | ||||
| * | | Only handle wakeup if necessary. | Henning Baldersheim | 2020-12-05 | 2 | -2/+11 |
| | | | |||||
* | | | Some -std=c++20a fixes: | Arne Juul | 2020-12-06 | 1 | -1/+1 |
|/ / | | | | | | | | | | | | | add noexcept de-inline destructor avoid comparison warning (and revert changes already made in another branch) | ||||
* / | Add noexcept specifiers to non-throwing constructors and operators. | Tor Egge | 2020-12-05 | 3 | -4/+4 |
|/ | |||||
* | Add missing includes. Fix format string. | Tor Egge | 2020-12-04 | 2 | -0/+2 |
| | |||||
* | Merge pull request #15667 from ↵ | Henning Baldersheim | 2020-12-04 | 1 | -0/+2 |
|\ | | | | | | | | | vespa-engine/toregge/remove-unneeded-operators-for-string-compare Remove unneeded operators for string compare. | ||||
| * | Remove unneeded operators for string compare. | Tor Egge | 2020-12-04 | 1 | -0/+2 |
| | | |||||
* | | Add noexcept specifier to non-throwing member functions. | Tor Egge | 2020-12-04 | 1 | -1/+1 |
|/ | |||||
* | Use std::atomic. | Tor Egge | 2020-12-03 | 2 | -19/+21 |
| | |||||
* | Don't increment or decrement volatile variables. It is deprecated | Tor Egge | 2020-12-03 | 2 | -8/+8 |
| | | | | when using C++20. | ||||
* | Be explicit wether size is give or not | Henning Baldersheim | 2020-12-02 | 4 | -3/+15 |
| | |||||
* | Allocate once with the correct size | Henning Baldersheim | 2020-12-02 | 2 | -26/+37 |
| | |||||
* | Put the next link at the end to allow closer packing if alignment allows. | Henning Baldersheim | 2020-12-02 | 1 | -5/+5 |
| | |||||
* | Make it compatible with c++2a | Henning Baldersheim | 2020-12-02 | 2 | -10/+15 |
| | |||||
* | We must keep the handling in the selector still. | Henning Baldersheim | 2020-11-30 | 1 | -0/+1 |
| | |||||
* | Simplify and use a single events_before_wakup number in the transport thread ↵ | Henning Baldersheim | 2020-11-30 | 1 | -1/+0 |
| | | | | for controlling wakeup frequency. | ||||
* | Use std::make_unique and hide actual ThreadExecutor implementation. | Henning Baldersheim | 2020-11-29 | 2 | -8/+14 |
| | |||||
* | use singleton object instead of static members | Håvard Pettersen | 2020-11-26 | 2 | -16/+29 |
| | | | | this is to avoid having to create a repo when it is not used | ||||
* | improve and clean up unit test | Håvard Pettersen | 2020-11-26 | 2 | -28/+33 |
| | |||||
* | check for 0 id more places | Håvard Pettersen | 2020-11-26 | 1 | -13/+13 |
| | | | | | also cut some documentation, since we only have one handle type for now. |