nuspell / nuspell

🖋️ Fast and safe spellchecking C++ library
https://nuspell.github.io
GNU Lesser General Public License v3.0
227 stars 25 forks source link

Reduce memory usage of the hash-table #97

Closed dimztimz closed 3 years ago

dimztimz commented 3 years ago

The current hash-table has some overhead for each bucket, i.e. each bucket is a std vector which contains three pointers. This can be reduced to one pointer.