Commit graph

7 commits

Author SHA1 Message Date
b5b363ae9f Changed some formatting 2026-04-28 21:48:45 +02:00
a6e8ced7f7 Added int avx dispatch in internal nodes 2026-04-28 21:05:43 +02:00
c363cae136 make sure standardstrategy is inlined
huge performance benefits. no seriously.  quite spectacular
2026-04-24 19:42:53 +02:00
7af48306fe Optimize the binary search by using unsafe
The jit was not able to tell that bounds checks could be elided.

Added an extra whistle for value types to allow for inlined comparisons.
2026-04-23 16:45:18 +02:00
c7c5c7b81b added proper benchmarking against others
changed StandardStrategy tonuse binary search.

and ao on
2026-04-22 19:30:46 +02:00
9242c1c751 perf: Optimize non-prefix key strategies and
memory usage

- Conditionally allocate prefix buffers in `LeafNode` and introduce `PrefixInternalNode` to reduce memory overhead when prefixes are disabled.
- Bypass prefix calculation and logic entirely when `UsesPrefixes` is false.
- Add a binary search fallback for key scanning.
- Implement a dedicated `int` scanning fast-path, removing SIMD prefix usage from `IntStrategy`.
- Reorganize key strategies into separate files.
- Add a new benchmark project specifically for string keys.
2026-04-22 15:55:33 +02:00
570a736606 Refactor key strategies 2026-04-21 08:41:59 +02:00