What is the advantage of using LibGDX's ObjectMap over Java's map implementations?
The Javadoc for ObjectMap brags about being very fast, but unlike Array, it doesn't say why it's better than the Java stuff.
I prefer to stick to built-in lists when I know I won't be removing anything because that way I get much cleaner integration with Kotlin's collection conveniences. If I knew the advantage of ObjectMap I could take a similar approach there.
Posted Feb 20, 2018, 9:11 PM UTC
58