Revision 1301214
Go back to digest for 24th June 2012Optimization in Educational
Barth Netterfield committed changes in /branches/work/kst/portto4/kst/src/datasources/ascii:
Ascii source optimization:
Don't re-open and re-read the file for every field.
This is about a 10x speedup for wide files. Now all fields from files
with 10k + columns are easily readable (~3s on my laptop) in fixed with
per column mode.
It scales a little faster than n, but not as n^2.
File Changes
Modified 2 files
- /branches/work/kst/portto4/kst/src/datasources/ascii
- /asciisource.cpp
- /asciisource.h
2 files changed in total