Commit graph

21 commits

Author SHA1 Message Date
d21b9cbe06 addee retrieve bemchmarks
tobreadme. more is comibg. amazing speedups.
2026-04-24 20:29:51 +02:00
c363cae136 make sure standardstrategy is inlined
huge performance benefits. no seriously.  quite spectacular
2026-04-24 19:42:53 +02:00
a54b17167e Fixed the unicode strategy to avoid boxing 2026-04-23 17:08:12 +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
e0e7ca0772 Removed old benchmark code 2026-04-23 16:21:10 +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
ae3e8ae8c4 Changed stupid mistake in key strategies
now strategies faster. go wroom.
2026-04-18 23:20:36 +02:00
c3b9268cf1 Changed to make it fit in the browser 2026-04-17 15:10:28 +02:00
662843116e updated readme 2026-04-17 15:05:05 +02:00
0bb8daca1a Reapply "Move to org readme"
This reverts commit b96e9671c8.
2026-04-17 13:39:08 +02:00
b96e9671c8 Revert "Move to org readme"
This reverts commit ca87dd4455.
2026-04-17 13:38:23 +02:00
ca87dd4455 Move to org readme 2026-04-16 19:54:39 +02:00
4d87e30b40 Add a standard key strategy for maps without prefixe
Remove the stupid "next" field
2026-04-16 19:49:31 +02:00
7bea233edc Did some code cleanup,
added some extra thingies.
switched to spans. Let google gemini do whatever it wanted..
2026-04-16 11:51:38 +02:00
978d0873dc Updated benchmarks
fixed prefix logic
2026-04-16 10:20:24 +02:00
f1488881d3 working 2026-02-12 10:34:01 +01:00
a9b6ed9161 fix prefixless search 2026-02-11 20:59:55 +01:00
280177a9cb Add count 2026-02-11 12:56:48 +01:00
79b5ab98aa First 2026-02-11 12:37:03 +01:00