Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused variables. | Tor Egge | 2021-03-13 | 1 | -1/+0 |
| | |||||
* | handle more cell types | Arne Juul | 2021-03-12 | 1 | -15/+11 |
| | |||||
* | Add dictionary config | Henning Baldersheim | 2021-03-11 | 1 | -0/+17 |
| | |||||
* | Add lock free hash map. | Tor Egge | 2021-03-10 | 1 | -0/+4 |
| | |||||
* | Add simple equal to Comparator interface. | Henning Baldersheim | 2021-03-09 | 6 | -60/+111 |
| | |||||
* | Merge pull request #16858 from ↵ | Henning Baldersheim | 2021-03-09 | 9 | -43/+43 |
|\ | | | | | | | | | vespa-engine/balder/prepare-for-multiple-compare-methods Convert comparator from being a simple comparator to using an explici… | ||||
| * | Convert comparator from being a simple comparator to using an explicit less ↵ | Henning Baldersheim | 2021-03-09 | 9 | -43/+43 |
| | | | | | | | | method. | ||||
* | | avoid explicit switch on cell types | Arne Juul | 2021-03-09 | 3 | -16/+8 |
|/ | | | | | * use CellTypeUtils::mem_size utility which does exactly what we need instead. | ||||
* | Use std::make_shared | Henning Baldersheim | 2021-03-08 | 4 | -12/+10 |
| | |||||
* | Merge pull request #16804 from vespa-engine/balder/keep-one-ucs4-version | Henning Baldersheim | 2021-03-05 | 11 | -289/+312 |
|\ | | | | | Keep only one ucs4 buffer, and create the buffer lazy. | ||||
| * | Remove default constructors and simplify. | Henning Baldersheim | 2021-03-05 | 6 | -57/+27 |
| | | | | | | | | Use atomic pointer to get proper memory visibility. | ||||
| * | Use std::atomic<bool> to get barriers. | Henning Baldersheim | 2021-03-04 | 1 | -7/+5 |
| | | |||||
| * | No move or copy construction. | Henning Baldersheim | 2021-03-04 | 3 | -198/+251 |
| | | |||||
| * | Keep only one ucs4 buffer, and create the buffer lazy. | Henning Baldersheim | 2021-03-04 | 9 | -51/+53 |
| | | |||||
* | | all scalars must be double | Håvard Pettersen | 2021-03-04 | 8 | -18/+22 |
|/ | | | | and all operation results must be at least float | ||||
* | Make the SearchTerm enum a small scoped enum and rename to Type. | Henning Baldersheim | 2021-03-04 | 14 | -131/+139 |
| | |||||
* | The default implementation of SearchContext::onFind was danegrous and not ↵ | Henning Baldersheim | 2021-03-04 | 6 | -60/+14 |
| | | | | | | thread safe. However it was luckily only used in test. Rewrote test and removed code. | ||||
* | Make the StringSearchContext smaller. | Henning Baldersheim | 2021-03-04 | 4 | -45/+58 |
| | | | | | - Rearrange members. - Skip std::optional on Regex. | ||||
* | Remove the need for friend declarations. | Henning Baldersheim | 2021-03-04 | 6 | -22/+13 |
| | |||||
* | Remove friend declarations no longer needed. | Henning Baldersheim | 2021-03-04 | 3 | -5/+0 |
| | |||||
* | Use unique_ptr for regex instead of shared_ptr to keep object small. | Henning Baldersheim | 2021-03-04 | 2 | -113/+70 |
| | | | | There is not need for it to be copied and it is used a few places where size is important. | ||||
* | minBvCocFreq -> minBvDocFreq | Henning Baldersheim | 2021-03-04 | 1 | -2/+2 |
| | |||||
* | GC unused typeddefs and params. | Henning Baldersheim | 2021-03-03 | 10 | -31/+15 |
| | |||||
* | Take dead elements into account (and subtract them) when calculating how ↵ | Geir Storli | 2021-03-01 | 1 | -4/+29 |
| | | | | | | | | | | | | many arrays to allocate in a datastore buffer. This avoids a problem were allocated memory can accumulate over time in components using an ArrayStore. If all documents in an array attribute vector changes from one value class to another, all elements in the buffers of the previous value class are marked dead. Those buffers will eventually be compacted. Without this fix the wanted size of the resulting compacted buffer is calculated too high, and we allocate memory we are not going to use. If we move to yet another value class later, the same problem occurs again and more memory is allocated. | ||||
* | Use an enum to avoid dangerous implicit type conversion | Henning Baldersheim | 2021-02-27 | 1 | -8/+9 |
| | |||||
* | Put all params for commit into a single CommitParam struct | Henning Baldersheim | 2021-02-27 | 3 | -12/+46 |
| | |||||
* | Merge pull request #16690 from vespa-engine/geirst/refactor-datastore-classes | Geir Storli | 2021-02-26 | 8 | -8/+8 |
|\ | | | | | Refactor datastore classes | ||||
| * | Rename 'active' buffer to 'primary' buffer in DataStoreBase. | Geir Storli | 2021-02-26 | 8 | -8/+8 |
| | | | | | | | | | | | | This should avoid confusion with the buffer state ACTIVE. Each buffer type has exactly one primary buffer that is used for allocations when no slots in free lists exist. A buffer type will typically use several buffers to store data, all of them being on state ACTIVE when in use. | ||||
* | | Reserve reasonably sized buffer upfront to keep memory footprint stable | Henning Baldersheim | 2021-02-25 | 2 | -9/+22 |
| | | |||||
* | | Remove includes no longer necessary. | Henning Baldersheim | 2021-02-25 | 8 | -33/+8 |
| | | |||||
* | | Avoid including singlenumericattribute.hpp | Henning Baldersheim | 2021-02-25 | 6 | -13/+10 |
|/ | |||||
* | expect QRS to always send distance threshold | Arne Juul | 2021-02-24 | 1 | -7/+4 |
| | |||||
* | move getting tensor into the attribute code | Arne Juul | 2021-02-22 | 4 | -9/+36 |
| | | | | | * avoids taking an extra copy of the tensor in the DirectTensorAttribute case | ||||
* | string.h does not need alloc.h | Henning Baldersheim | 2021-02-21 | 11 | -11/+17 |
| | |||||
* | Eliminate array bounds warning. | Tor Egge | 2021-02-21 | 1 | -0/+5 |
| | |||||
* | Merge pull request #16495 from vespa-engine/arnej/add-size-literals | Arne H Juul | 2021-02-16 | 58 | -136/+194 |
|\ | | | | | add literals for sizes in KB, MB, and GB | ||||
| * | use size literals in searchlib | Arne Juul | 2021-02-15 | 58 | -136/+194 |
| | | |||||
* | | Rename get_memory_allocator to make_memory_allocator in mmap file allocator | Tor Egge | 2021-02-15 | 1 | -1/+1 |
| | | | | | | | | factory. Remove virtual keyword. | ||||
* | | Use mmap file allocator in dense tensor attribute if huge flag is | Tor Egge | 2021-02-15 | 5 | -8/+53 |
|/ | | | | set in config. | ||||
* | Add alloc_aligned member function. | Tor Egge | 2021-02-13 | 2 | -4/+2 |
| | |||||
* | Forward declare MemoryAllocator in vespalib/util/alloc.h. | Tor Egge | 2021-02-13 | 6 | -0/+6 |
| | |||||
* | Less asserts in header files. | Henning Baldersheim | 2021-02-13 | 21 | -58/+70 |
| | |||||
* | Add unit tests for active boundary checks. | Tor Egge | 2021-02-12 | 3 | -0/+36 |
| | |||||
* | Add comments. | Tor Egge | 2021-02-12 | 3 | -0/+3 |
| | |||||
* | Reenable boundary checks when mapping lid to lid for referenced document type. | Tor Egge | 2021-02-11 | 3 | -3/+5 |
| | |||||
* | Merge pull request #16406 from vespa-engine/balder/gc-unused-code | Henning Baldersheim | 2021-02-05 | 6 | -52/+22 |
|\ | | | | | GC unused template | ||||
| * | Add override and noexcept. | Henning Baldersheim | 2021-02-05 | 2 | -2/+2 |
| | | |||||
| * | Some code health | Henning Baldersheim | 2021-02-05 | 4 | -43/+20 |
| | | |||||
| * | GC unused template | Henning Baldersheim | 2021-02-05 | 1 | -7/+0 |
| | | |||||
* | | Fix onhold accounting for SerializedFastValueAttribute. | Tor Egge | 2021-02-05 | 2 | -1/+16 |
| | |