Please sign in to comment.
Speed up CSV import by not querying the stream position
Avoid querying the position in the text stream using Qt's pos() function to update the progress dialog. Instead keep track of the stream position manually. This is possible here because we don't ever seek in the file. In result, this speeds up the CSV import dramatically.
- Loading branch information...