Making string to float conversion faster?

I tried

using CSV
using Mmap: mmap
@time file = CSV.File(mmap("test.csv"), header=false, select=[4,5], type=Float64)

and got 5s after compilation time (11s first run) with 2 threads for a 50M line file. Strangely though when I did -t auto which gives 8 threads, it would seem to hang forever (unless I pass threaded=false).

edit: filed as CSV.jl issue for the hang, CSV.jl#817.

1 Like