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

parsing string without branching #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wutzi15
Copy link

@wutzi15 wutzi15 commented Apr 26, 2024

Now parsing the int without explicit branch. In my tests this speeds up from (13.52 +- 1.18)s down to (13.07+-0.87)s measured across 15 runs. This is a speed-up of 3.39%.

Please verify

Signed-off-by: Benedikt Bergenthal <[email protected]>
@dannyvankooten
Copy link
Owner

Ooh, clever. Nicely done. I’ll verify as soon as I get a chance, but from a first glance it looks good to me!

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.

3 participants