thmd commented on issue #2941: URL: https://github.com/apache/fory/issues/2941#issuecomment-3654496187
I actually wasn't aware that HashMap has such fields as transient. It seems like I can't use Fory.copy as a drop-in replacement for a DeepCopy need currently served by a serialize+deserialize and my use cases is better served by that. It would be less efficient than Fory.copy but still better than JDK serialization. HashMap could have made them regular (non-transient) field but still skip them in it's custom writeObject, which seems like a better design to me. Anyway it seems I know even lesser than what I thought about java serialization. -- 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]
