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

Fix performance regression on processors that allow unaligned mem access. #30

Merged
merged 1 commit into from
May 18, 2017

Conversation

shumow
Copy link
Collaborator

@shumow shumow commented May 16, 2017

This fix detects architectures that support unaligned memory access and avoids a memory copy on such platforms. This holds on the x86-32 and -64 processors, which are a common use case.

See discussion: 33a694a

@shumow shumow merged commit db45d67 into master May 18, 2017
@shumow shumow deleted the perf-unaligned branch May 18, 2017 19:04
avar added a commit to avar/sha1collisiondetection that referenced this pull request May 18, 2017
The entirety of the rest of the file uses 8-width tabs, but this[1]
change added 4-width spaces.

1. db45d67 ("Fix performance regression on processors that allow
   unaligned memory access. (cr-marcstevens#30)", 2017-05-18)
avar added a commit to avar/sha1collisiondetection that referenced this pull request May 18, 2017
This is the feedback I left on pull request cr-marcstevens#30[1] turned into a
patch.

1. cr-marcstevens#30
avar added a commit to avar/sha1collisiondetection that referenced this pull request May 18, 2017
The entirety of the rest of the file uses 8-width tabs, but this[1]
change added 4-width spaces.

1. db45d67 ("Fix performance regression on processors that allow
   unaligned memory access. (cr-marcstevens#30)", 2017-05-18)
avar added a commit to avar/sha1collisiondetection that referenced this pull request May 18, 2017
This is the feedback I left on pull request cr-marcstevens#30[1] turned into a
patch.

1. cr-marcstevens#30
avar added a commit to avar/sha1collisiondetection that referenced this pull request May 19, 2017
The entirety of the rest of the file uses 8-width tabs, but this[1]
change added 4-width spaces.

1. db45d67 ("Fix performance regression on processors that allow
   unaligned memory access. (cr-marcstevens#30)", 2017-05-18)
avar added a commit to avar/sha1collisiondetection that referenced this pull request May 19, 2017
This is the feedback I left on pull request cr-marcstevens#30[1] turned into a
patch.

1. cr-marcstevens#30
cr-marcstevens pushed a commit that referenced this pull request May 20, 2017
The entirety of the rest of the file uses 8-width tabs, but this[1]
change added 4-width spaces.

1. db45d67 ("Fix performance regression on processors that allow
   unaligned memory access. (#30)", 2017-05-18)
cr-marcstevens pushed a commit that referenced this pull request May 20, 2017
This is the feedback I left on pull request #30[1] turned into a
patch.

1. #30
edef1c pushed a commit to edef1c/grit that referenced this pull request Feb 13, 2019
This is the feedback I left on pull request #30[1] turned into a
patch.

1. cr-marcstevens/sha1collisiondetection#30
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.

None yet

2 participants