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

Consider Cython as a means to accelerate exponential format conversion from the strings #79

Open
bskinn opened this issue Oct 15, 2017 · 0 comments

Comments

@bskinn
Copy link
Owner

bskinn commented Oct 15, 2017

A well constructed bit of Cython code might enable very rapid intake of the exponential values from the CUBE files, exploiting the knowledge of the format of the values.

It might end up being necessary to inspect the first value imported, in order to know how many digits are expected after the decimal and in the exponent, but the time taken for that inspection should be DWARFED by the time saved by optimized parsing of the values.

Of course, I should profile the intake operation so that I can be sure the parsing is actually where the bottleneck is.

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

1 participant