schwehr / generic-sensor-format

Sonar Generic Sensor Format (gsf) codec
Other
13 stars 8 forks source link

Compare the performance between fread and mmap #9

Open schwehr opened 9 years ago

schwehr commented 9 years ago

Back to the discussions of 2010 or 2011 that included Moe of IVS (now QPS). We thought back then that using mmap might be substantially faster when reading GSF from disk. I don't think that is worth doing in the old C gsf, but it would be worthwhile in a new C++ library.