Performance of int/long in Python 3
Neil Hodgson
nhodgson at iinet.net.au
Wed Apr 3 04:15:22 EDT 2013
Roy Smith:
> On the other hand, how long did it take you to do the directory tree
> walk required to find those million paths? I'll bet a long longer than
> 0.78 seconds, so this gets lost in the noise.
About 2 minutes. But that's just getting an example data set. Other
data sets may be loaded more quickly from databases or files or be
created by processing. Reading the example data from a file takes around
the same time as sorting.
Neil
More information about the Python-list
mailing list