Skip to content

Conversation

@ikelaiah
Copy link
Contributor

@ikelaiah ikelaiah commented Apr 8, 2024

Hi @gcarreno ,

My latest revision for the 1BRC, version 7.

  • Revision release - Sequential approach. 4-6 mins on my Inspiron 15 7510 laptop (a little improvement on speed).
  • Converting Float as String to Int was a bit slow, so resorted to a lookup instead. This saves 30-45 seconds.
  • Re-arranged if statements in two places. This saves 10-15 seconds x 2 = ~ 30 seconds saving.

The sha256 is 4256d19d3e134d79cc6f160d428a1d859ce961167bd01ca528daca8705163910

Thank you!

Regards,
Iwan Kelaiah

@gcarreno
Copy link
Collaborator

gcarreno commented Apr 8, 2024

Awesome sauce!!
Merging!!!

@gcarreno gcarreno merged commit 220546a into ObjectPascal-Community:main Apr 8, 2024
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