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

WIP: zeropb codec #128

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Conversation

elias-orijtech
Copy link

Copy link
Member

@aaronc aaronc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do the LitteEndian calls get inlined if the arch is little endian? I wonder what the performance is without those calls

@elias-orijtech
Copy link
Author

Do the LitteEndian calls get inlined if the arch is little endian? I wonder what the performance is without those calls

I believe LittleEndian calls are inlined on all platforms, but swizzled on big endian. For little endian, its just a single assembly instruction: see https://godbolt.org/z/v7d18GnoE assembly, line 14.

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

Successfully merging this pull request may close these issues.

2 participants