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

Improve fixed size Array Allocations. #3

Open
GoomiiV2 opened this issue May 15, 2021 · 0 comments
Open

Improve fixed size Array Allocations. #3

GoomiiV2 opened this issue May 15, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@GoomiiV2
Copy link
Member

If the array is of a known fixed size then it can and should be defined with that size on the Aero class so that at unpack time no allocation is needed to allocate its space.

Changes should be made to detect this with AeroGen and skip the allocation and just copy and cast to the array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant