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

Saving memory space is possible by shifting pointers #13

Open
uucidl opened this issue Sep 9, 2015 · 1 comment
Open

Saving memory space is possible by shifting pointers #13

uucidl opened this issue Sep 9, 2015 · 1 comment

Comments

@uucidl
Copy link
Owner

uucidl commented Sep 9, 2015

On most architectures pointers will be aligned and so their bottom bits are all zero. We could compress these pointers (category/name/keys of the trace) by shifting the pointers down and packing them somehow.

@uucidl
Copy link
Owner Author

uucidl commented Dec 1, 2018

I can also reorder tid and pid to save on space lost due to padding

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