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.
[ Parent
| on HN ]