EveryGoodWork / ChapterVerse

Scripture lookup bot written in Rust.
GNU General Public License v3.0
4 stars 1 forks source link

Subset Bibles Structs by Book #8

Closed PeterMHammond closed 1 month ago

PeterMHammond commented 4 months ago

Break down the bibles into sub-structs by book to improve lookup speed.

PeterMHammond commented 4 months ago

Current implementation has all 31103 verses in a single hashtable. Hoping that breaking them down into books and then chapters will improve performance. However, with the current benchmarks at 77.916 ns for a lookup, this is not a high priority as this performance is very good.

PeterMHammond commented 1 month ago

No further work on this required.