Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout for fixed size vs. dynamic size fields #4

Open
jfallows opened this issue Jan 11, 2017 · 0 comments
Open

Layout for fixed size vs. dynamic size fields #4

jfallows opened this issue Jan 11, 2017 · 0 comments

Comments

@jfallows
Copy link
Contributor

The flyweight generator allows fixed and dynamic size fields to have any desired ordering, making the determination of field offsets complex.

If all fixed size fields (including fixed length octet arrays) were ordered before all dynamic size fields, the generator code would be simplified and the runtime performance would improve accordingly.

The ordering of fixed size fields relative to other fixed size fields, and the ordering of dynamic size fields relative to other dynamic size fields should follow the IDL.

@jfallows jfallows changed the title layout for fixed size vs. dynamic size fields Layout for fixed size vs. dynamic size fields Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant