chaokunyang commented on code in PR #2799:
URL: https://github.com/apache/fory/pull/2799#discussion_r2451835333


##########
java/fory-core/src/main/java/org/apache/fory/config/Config.java:
##########
@@ -297,6 +297,14 @@ public boolean isScalaOptimizationEnabled() {
     return scalaOptimizationEnabled;
   }
 
+  /**
+   * Whether use meta share for ObjectStreamSerializer. This reduces 
serialization size by using
+   * ObjectSerializer instead of CompatibleSerializer. Only effective when 
metaShareEnabled is true.
+   */
+  public boolean isMetaShareForObjectStreamEnabled() {

Review Comment:
   We don't need this, we can just check whether fory compatible mode is set to 
`CompatibleMode` in `ObjectStreamSerializer`



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to