Fix dumb typo in 08556257 (#6844)

This commit is contained in:
Lisandro Pin 2025-06-06 14:59:11 +02:00 committed by GitHub
parent c99530ec66
commit 00c621abb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,7 +3,7 @@ package needle_map
/* CompactMap is an in-memory map of needle indeces, optimized for memory usage. /* CompactMap is an in-memory map of needle indeces, optimized for memory usage.
* *
* It's implemented as a map of sorted indeces segments, which are in turn accessed through binary * It's implemented as a map of sorted indeces segments, which are in turn accessed through binary
* search. This guarantees a best-case scenario (ordered inserts/updates) of O(N) and a worst case * search. This guarantees a best-case scenario (ordered inserts/updates) of O(1) and a worst case
* scenario of O(log n) runtime, with memory usage unaffected by insert ordering. * scenario of O(log n) runtime, with memory usage unaffected by insert ordering.
* *
* Note that even at O(log n), the clock time for both reads and writes is very low, so CompactMap * Note that even at O(log n), the clock time for both reads and writes is very low, so CompactMap