You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In #1679 , the copy is implemented using loop and branch. We can optimize it by generate code to copy object attributes recusively.
Describe the solution you'd like
For JIT serializer, don't generate copy code in previous serializer builder. copy is not needed by all scenarios, generate code for copy will make the jit slower and use more metaspace.
Instead, we should generate a class which implement the copy interface and forward the copy to that class.
For example, we can add a copy forward implemetation in io.fury.builder.Generated.GeneratedSerializer:
chaokunyang
changed the title
[<Fury component: Protocol|Java|Python|C++|JavaScript|etc...>]
[Java] fast object copy implementation using JIT codegen
Jun 11, 2024
Is your feature request related to a problem? Please describe.
In #1679 , the copy is implemented using loop and branch. We can optimize it by generate code to copy object attributes recusively.
Describe the solution you'd like
For example, we can add a copy forward implemetation in
io.fury.builder.Generated.GeneratedSerializer
:Additional context
#1679 #1014
The text was updated successfully, but these errors were encountered: