News for hackers. Stuff that matters.
Re:How fast is fscanf? by jbrichter on Sunday October 05, 2014 @10:19PM (#8414052)
fscanf has to parse and execute the format string. It might be interesting to compare your custom ascii-to-float converter to one which calls strtof in a loop.
Re:How fast is fscanf? by HerrMonnezza on Monday October 06, 2014 @05:02AM (#8414898)
It would also be interesting to compare it to C++'s ">>" operators; one of the reasons to introduce them was exactly to avoid run-time parsing of format strings.
Re:How fast is fscanf? by shele on Monday October 06, 2014 @05:50AM (#8414998)
It is nice to see how Julia circumvents the problem by introducing a macro @printf. See http://stackoverflow.com/questions/19783030/in-julia-why-is-...