chaokunyang commented on issue #2160: URL: https://github.com/apache/fury/issues/2160#issuecomment-2845234786
> Hi [@chaokunyang](https://github.com/chaokunyang) , I'm mapping spec to code, I have read at the `field info block` corresponding to the [Meta share#Single layer class meta](https://fury.apache.org/docs/specification/fury_java_serialization_spec/#single-layer-class-meta) > > ``` > | field info: variable bytes | > +-------------------------------+ > | header + type id + field name | > ``` > > but I don't understand the `last line in green`: > >  > > After writing `type id` and `filed name`, a `classId`(or typeId?) is also written to buffer via `fieldType.write(...)`, which seems to be not reflected in the spec. what is it for? Or does it reflected in the end spec paragraph? > > ``` > Field order are left as implementation details, which is not exposed to specification, > the deserialization need to resort fields based on Fury field comparator. > In this way, fury can compute statistics for field names or types and using a more compact encoding. > ``` > > Thank you! The spec needs updates. I'm working on it in https://github.com/apache/fury/pull/2197. Still need some time. -- 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: commits-unsubscr...@fury.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org