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

spec: Maybe rip out alignment support? #9

Open
tv42 opened this issue Nov 6, 2015 · 0 comments
Open

spec: Maybe rip out alignment support? #9

tv42 opened this issue Nov 6, 2015 · 0 comments

Comments

@tv42
Copy link
Member

tv42 commented Nov 6, 2015

snabbco/snabb#648 makes a case that unaligned access doesn't really cost much extra even for vector operations, these days (u variants of SIMD operations).

Perhaps that whole line of thinking is unnecessary these days, and we just eat the unaligned access cost.

That simplifies length-prefixed fields etc back to <len><content> pairs.

Should this prove the wrong decision, we can always add alignment support back later; no existing message would change.

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

1 participant