▲ | netr0ute 6 days ago | |||||||||||||||||||||||||||||||||||||
I thought about hashing, but found that hashing would be enormously slow to compute compared to a perfectly crafted tree. | ||||||||||||||||||||||||||||||||||||||
▲ | dafelst 6 days ago | parent [-] | |||||||||||||||||||||||||||||||||||||
But did you think about using a perfect hash function and table? Based on my prior research, it seems like they are almost universally faster on small strings than trees and tries due to lower cache miss rates. | ||||||||||||||||||||||||||||||||||||||
|