News for hackers. Stuff that matters.
Re:How fast is fscanf? by gambiting on Monday October 06, 2014 @05:24AM (#8414940)
I had an application where I was reading a 3GB text file into memory, directly from and SSD. Using fscanf the speed would top out at around 100-150MB/s. Only after I've switched to fread the data was actually read at the maximum speed of the drive - over 400MB/s. I guess it's due to parsing fscan is doing.
Re:How fast is fscanf? by roghummal on Monday October 06, 2014 @07:00AM (#8415175)
Hint: It's the way data is read when using fscanf.

Hint++: Parsing is not the bottleneck.