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

Cache strlen outside of cycles (PVS-Studio) #106

Merged
merged 1 commit into from
Nov 4, 2017
Merged

Cache strlen outside of cycles (PVS-Studio) #106

merged 1 commit into from
Nov 4, 2017

Conversation

dimhotepus
Copy link
Contributor

strlen is invariant, move out from cycles to reduce cpu consumption.

@sergiud sergiud added the LGTM label Nov 4, 2017
@sergiud sergiud merged commit bac8811 into google:master Nov 4, 2017
durswd pushed a commit to durswd/glog that referenced this pull request Sep 2, 2019
Cache strlen outside of cycles (PVS-Studio)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants