shuttie edited a comment on issue #10358: [FLINK-14346] [serialization] faster implementation of StringValue writeString and readString URL: https://github.com/apache/flink/pull/10358#issuecomment-561671471 @StephanEwen the only issue with this approach is that the internal binary representation of Strings between jvm8 and jvm9+ is different, see the [JEP-254](https://openjdk.java.net/jeps/254) for the details (TLDR: starting from jvm9 ascii strings have compact 1-byte internal representation). So then you will loose the compatibility between JVM versions, that's why it's called Unsafe :)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
