2 ms·
Huh, very nice idea! That should, indeed save a ton of space and be much simpler when searching! I'll try that now, thank you. EDIT: Hmm, turns out it's pretty
by StavrosK 13y ago
Huh, very nice idea! That should, indeed save a ton of space and be much simpler when searching! I'll try that now, thank you.
EDIT: Hmm, turns out it's pretty much the same size, which makes sense, I guess: http://nbviewer.ipython.org/gist/skorokithakis/0abbfebced25fd4b2ed3 http://nbviewer.ipython.org/gist/skorokithakis/0abbfebced25f...
- hedgehog 13y agoThe space savings for the same error rate should be small (I think the likelihood of false positives for a given load goes down slightly with size of the filter) but the benefit in lookup time should be significant for multiword searches. Thinking about it more though if you're doing live search you'll already have computed the results for the first word by the time you are given a second so maybe it doesn't matter.