MengRao / str

A SIMD optimized fixed-length string class along with an adaptive hash table for fast searching
MIT License
125 stars 30 forks source link

optimize(?) the find loop #1

Closed yumeyao closed 5 years ago

MengRao commented 5 years ago

we need to check "tbl[pos].key == key" before returning value in every step, because there could be collisions.