By that I mean, forming a Hash Array Mapped Trie with 2 or more indexed fields, such as a User model by email and location name, or email + username + last logged in + isActive. Basically any arbitrary number of columns of any type of field (boolean, int, string, pretty much).

I am just learning about HAMTs, but don't yet see exactly how they work. I understand how tries and hashtables work though.

My question is how it would look to describe a HAMT that works as a multi-column index.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.