chaokunyang commented on code in PR #173: URL: https://github.com/apache/fury-site/pull/173#discussion_r1732138152
########## docs/guide/java_serialization_guide.md: ########## @@ -215,11 +214,7 @@ Fury fury=Fury.builder() ### Implement a customized serializer -In some cases, you may want to implement a serializer for your type, especially some class customize serialization by -JDK -writeObject/writeReplace/readObject/readResolve, which is very inefficient. For example, you don't want -following `Foo#writeObject` -got invoked, you can take following `FooSerializer` as an example: +Implementing serialized classes, JDK serialization is very performance and space inefficient. For example, if you don't want `Foo#writeObject` below to be called, you can implement `FooSerializer` below the type: Review Comment: ```suggestion In some cases, you may want to implement a serializer for your type, especially for classes customized serialization by JDK serialization. JDK serialization is very inefficient in performance and space. You can write your own Serializer and configure Fury to used it for serialization instead. For example, if you don't want belowing `Foo#writeObject` to be called, you can implement and register `FooSerializer`: ``` -- 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. To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org