Closed samhaswon closed 6 months ago
Rewrote the majority of the search code in C for a major memory reduction.
Before:
Total object size of 566 MiB
Single-loaded version (KJV) object size of 27.6 MiB
~290μs per query (on my machine)
Now:
Total object size of 88.1 MiB
Single-loaded version (KJV) object size of 9.3 MiB
~64μs per query (on my machine)
Index unloading is also supported with the unload_version method.
unload_version
Rewrote the majority of the search code in C for a major memory reduction.
Before:
Total object size of 566 MiB
Single-loaded version (KJV) object size of 27.6 MiB
~290μs per query (on my machine)
Now:
Total object size of 88.1 MiB
Single-loaded version (KJV) object size of 9.3 MiB
~64μs per query (on my machine)
Index unloading is also supported with the
unload_version
method.