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

Optimize memory usage of data structures #11

Closed
mwcampbell opened this issue Sep 21, 2021 · 2 comments
Closed

Optimize memory usage of data structures #11

mwcampbell opened this issue Sep 21, 2021 · 2 comments

Comments

@mwcampbell
Copy link
Contributor

The structures defined in the schema scrate haven't yet been optimized for memory usage. In particular, the Node struct is ~1.5KB on a 64-bit machine.

@i509VCB
Copy link

i509VCB commented Oct 27, 2022

From running cargo +nightly rustc -p accesskit -- -Zprint-type-sizes, this is a breakdown of the size of Node:

https://gist.github.com/i509VCB/c15dfb11b3804cdbd82a28b5e90b3df8

@mwcampbell
Copy link
Contributor Author

Resolved by #205

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

No branches or pull requests

2 participants