2 ms·
This is super interesting, thanks! I just wrote a related note in http://canonical.org/~kragen/dernocua.git http://canonical.org/~kragen/dernocua.git in text/h
by kragen 5y ago
This is super interesting, thanks! I just wrote a related note in http://canonical.org/~kragen/dernocua.git http://canonical.org/~kragen/dernocua.git in text/hash-consing-ropes.md, linking to those two notes; my interest is using it for hash consing, like symbol interning but for all your strings.
- infogulch 5y agoSomething that might interest you even more is the related questions by Jason Hise that I linked to. They explored using 8x8 bit-element matrices as an associative hash of a string and apparently it works pretty good as a hash for string keys in a hashmap. Both questions, answers, and comments all have some interesting context, and Jason answers some questions I had about their usage in comments on the second question. Using 8x8 Binary Matrices as a hash - https://math.stackexchange.com/questions/1902462/using-8x8-binary-matrices-as-a-hash https://math.stackexchange.com/questions/1902462/using-8x8-b... Finding Prime Binary Matrices - https://math.stackexchange.com/questions/1914853/finding-prime-binary-matrices https://math.stackexchange.com/questions/1914853/finding-pri...
- kragen 5y agoIt's a pretty interesting idea! If you were implementing it in hardware, it would probably be faster. In software, I suspect that my suggestion of composition of linear forms in the ring ℤ/nℤ would be more efficient.