Closed catap closed 2 years ago
@catap: Kryo has buit-in support for most JDK data structures, but needs help (i.e. a custom serializer) when serializing complex third-party data structures.
Please take a look at https://github.com/magro/kryo-serializers/issues/76. The linked serializer might help, or you can always fall back to plain Java serialization.
@theigl or use FieldSerializer
which works very well :)
@catap: I would suggest you do some performance tests. If fastutil has optimized custom serialization logic it might be faster and/or smaller than FieldSerializer
. But good to know that this works for you!
Describe the bug
Kryo can't serialize fastutils' structures with error:
java.lang.ArrayIndexOutOfBoundsException: 1
.To Reproduce
fails as:
Environment: