forked from eduardok/pywvcsv
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wvcsv_splitline: keep string lengths around so the caller can use them.
Turns out strlen() was about 7% of the runtime of csv2sort. This cuts our 500k record sorting time from about 2.8s down to about 2.6s.
- Loading branch information
Showing
3 changed files
with
36 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters