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

pdbcycle: removed extra iteration of read locations #111

Merged
merged 1 commit into from
Nov 16, 2018

Conversation

jgheewala
Copy link
Contributor

summary: when we read locations during Read() call, we had two loops.
One was incrementing stats information and other was updating return
value. Both the iterations was on same data slice. If we look at system
as a whole there are multiple go-routines calling this Read api for
multiple datum's. Having one iteration should speed some cpu time by a
small factor.

test: ran all unit test cases

summary: when we read locations during Read() call, we had two loops.
One was incrementing stats information and other was updating return
value. Both the iterations was on same data slice. If we look at system
as a whole there are multiple go-routines calling this Read api for
multiple datum's. Having one iteration should speed some cpu time by a
small factor.

test: ran all unit test cases
@jgheewala jgheewala merged commit 33764ad into master Nov 16, 2018
@atoulme atoulme deleted the minor_read_fix branch January 5, 2023 06:26
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