Python(2.5) reads an input file FASTER than pure C(Mingw)

Lie Lie.1296 at gmail.com
Fri May 23 03:20:29 EDT 2008


On Apr 30, 8:57 pm, n00m <n... at narod.ru> wrote:
> >>> a = ['zzz', 'aaa']
> >>> id(a[0]), id(a[1])
>
> (12258848, 12259296)>>> a.sort()
> >>> id(a[0]), id(a[1])
>
> (12259296, 12258848)
>
>

That proves you know nothing, that is a list operation, not a string
operation.



More information about the Python-list mailing list