How Unix spell ran in 64 kB of RAM (2025)
Posted by donw 9 hours ago
Comments
Comment by bluedino 6 hours ago
Comment by inigyou 7 hours ago
Comment by jstanley 7 hours ago
EDIT: Although, https://chatgpt.com/share/6a67336b-8600-83ed-9671-fab769b485... - it is in fact ever so slightly less effective if you have a separate table for each hash function
EDIT2: In the limit, if the number of hash functions equals the number of bits, then we can see that inserting one element would set all bits in the case where we use separate tables, but only 50% of bits if they use one big shared table.
So the false positive rate is higher if they use separate tables.
Comment by Someone 5 hours ago
It would be more effective in avoiding false positives, but require more (typically a lot more) space.
Comment by inigyou 1 hour ago
Comment by vee-kay 7 hours ago