Closed shevek closed 5 years ago
In things like EnumMapSerializer, VarInt encoding is smaller than int encoding for both lengths and ordinal() values. Please prefer it.
Which serializer are you referring to? Do you want to submit a PR?
https://github.com/magro/kryo-serializers/blob/master/src/main/java/de/javakaffee/kryoserializers/EnumMapSerializer.java#L96
Should use writeVarInt() to save 3 bytes.
Right. As said, feel free to submit a PR!
In things like EnumMapSerializer, VarInt encoding is smaller than int encoding for both lengths and ordinal() values. Please prefer it.