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

Speed up string to real #498

Open
jacobwilliams opened this issue Nov 6, 2021 · 1 comment · May be fixed by #499
Open

Speed up string to real #498

jacobwilliams opened this issue Nov 6, 2021 · 1 comment · May be fixed by #499
Assignees

Comments

@jacobwilliams
Copy link
Owner

jacobwilliams commented Nov 6, 2021

See the discussions here and here. There is a lot of room for improvement in the string to real parsing (which is currently using read(fmt=*) which is apparently quite slow.

The C strtod routine is much faster. Could add it as an option, or maybe even the default. Is it a guarantee that every Fortran compiler will have this? Seems to be true for Gfortran and Intel.

@jacobwilliams jacobwilliams self-assigned this Nov 6, 2021
@jacobwilliams jacobwilliams linked a pull request Nov 6, 2021 that will close this issue
@jacobwilliams
Copy link
Owner Author

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

Successfully merging a pull request may close this issue.

1 participant