msgpack-java
msgpack-java copied to clipboard
What is the most efficient way to deserialize to HashMap
Hi,
I've been trying to understand what is the most efficient (i.e. fast) way to deserialize msgpack bytes to a HashMap<Integer, Float>. That object will potentially be serialized from a dictionary in python/c#. Since the object can potentially have thousands of keys and will be used for lookups, deserialization speed (and lookup speed for the final object) is extremely important.
Do you have a code example of how I could do it? Thank you!