Is your feature request related to a problem? Please describe.
We've implemented feature-complete serialization for object graph, but it's interpreter mode, which will incur:
- extra memory access for query serializer
- extra memory access for query classinfo
- extra memory access for query field offset
- virtual method invocation.
- conditional branching.
- hash lookup.
Since class has field has types, we can use those type information to generate serializer on the flight to speed the serialization, reduce above cost.
Describe the solution you'd like
Use #28 to create serializer on the flight to speedup the serialization
Is your feature request related to a problem? Please describe.
We've implemented feature-complete serialization for object graph, but it's interpreter mode, which will incur:
Since class has field has types, we can use those type information to generate serializer on the flight to speed the serialization, reduce above cost.
Describe the solution you'd like
Use #28 to create serializer on the flight to speedup the serialization
BaseObjectCodecBuilderfor object serialization, compatible object serialization and meta shared object serialization #246