msgpack-java icon indicating copy to clipboard operation
msgpack-java copied to clipboard

What is the most efficient way to deserialize to HashMap

Open lsena opened this issue 3 years ago • 0 comments

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!

lsena avatar Jan 06 '22 18:01 lsena