-
Notifications
You must be signed in to change notification settings - Fork 143
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 Float32 much slower than Float64 #117
Comments
Thanks for the report. Smells like a type instability issue somewhere in the code. |
Closing the issue, on Julia v1.0.0 and CSV v0.3.0 there is no practical difference between parsing Float32's and Float64's.
In the original example, CSV.write errors, opened an issue #237 |
Julia v1.0.0, CSV v0.4.1 regressed a lot. Reading Float32s is 18x slower than v0.3.0.
|
It's not an issue w/ all Floats, only full-precision (see comment here); closing as duplicate of JuliaData/Parsers.jl#5 |
On CSV v0.2.0, Julia v0.6.0, parsing Float32's is more than 2x slower than parsing Float64's. Also, if some of the types is Int32, it seems to be faster to parse all as Float64 and then convert into Int32.
The text was updated successfully, but these errors were encountered: