urlyy opened a new pull request, #2278:
URL: https://github.com/apache/fury/pull/2278

   ## What does this PR do?
   Prepare to implement xlang metashare encode&decode in pyfory. Now finish 
`field_info` and `type_info(TypeDef)`. And I will continue to finish 
type_resolver for registry.
   
   other small change:
   - Add `Buffer::write_uint8` for writing 1 byte header.
   - Add metastring encoding options for field_name and namespace metastring 
encode.
   
   ## Some Question
   - Still confused about naming. For me, I want to change all `class_` prefix 
to `type_`, like `class_info -> type_info`, `class_resolver -> type_resolver`. 
So it will be unified. 
   - There is not `writeVarUint32Small7` in pyfury cython. Now I use 
`write_varuint32`. Should I add this function?
   - Now I just finish the xlang TypeDefMeta specification. As the java version 
is too complex to imitate, I use my way to implement this: not use outer 
Encoder/Decoder/Resolver class, just implement the  `xread/xwrite` logic in 
`type_info/field_info` class. If this is not good, I will rewrite this part.
   
   
   ## Related issues
   #2160
   
   
   ## Does this PR introduce any user-facing change?
   WIP
   
   - [ ] Does this PR introduce any public API change?
   - [ ] Does this PR introduce any binary protocol compatibility change?
   
   ## Benchmark
   
   TODO


-- 
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