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

explore using SIMD instructions for parsing #50

Open
grr opened this issue Jul 2, 2023 · 1 comment
Open

explore using SIMD instructions for parsing #50

grr opened this issue Jul 2, 2023 · 1 comment

Comments

@grr
Copy link

grr commented Jul 2, 2023

claims a 6x speed increase:
https://lemire.me/blog/2023/07/01/parsing-time-stamps-faster-with-simd-instructions/

@chansen
Copy link
Owner

chansen commented Jul 23, 2023

That’s nice usage of SIMD when you only have to interchange one string representation of a time stamp. Comparison is done with strptime() which is a very powerful routine but it’s not known for it’s speed. Time::Moment uses custom routines for parsing that’s much faster than using strptime().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants