-
Notifications
You must be signed in to change notification settings - Fork 556
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
Use runtime code generation to create implementations #9
Comments
This is enabled by @RichardWarburton contribution of the template code used for channels. |
Copying over comment from #61 @plokhotnyuk : Let us imagine that we can select desired options:
And then put them to code generator which will produce implementation, generational (property based) and stress tests, suit of benchmarks. " |
Copying comments from #33 @nitsanw and @georges-gomes :
Will result in a hierarchy being generated such that fields are ordered and padded:
"If you go the codegen route, I was thinking of also generating multiple versions of the Queues for different constant like sparse-shift 0 vs 2. Just to benefit from the static final performance.
this would generate 2 classes:
|
This allows:
The trade off is code bloat.
The text was updated successfully, but these errors were encountered: