This is a Crystal implementation of a Splay Tree; which is a type of binary search tree that is semi-balanced and that tends to self-optimize so that the most accessed items are the fastest to retrieve.
Why do you think that https://github.com/c910335/crie is a good alternative to splay_tree_map.cr