Diffie-Hellman’s key-exchange method runs this kind of exponentiation protocol, with all the operations conducted in this way ...
and could not create anything faster than fastutil. These collections are super fast as seen http://java-performance.info/hashmap-overview-jdk-fastutil-goldman-sachs ...