[Python-3000] _heapq.c, etc. (was Re: Heaptypes) (original) (raw)
Alexandre Vassalotti alexandre at peadrop.com
Tue Jul 24 23:03:39 CEST 2007
- Previous message: [Python-3000] _heapq.c, etc. (was Re: Heaptypes)
- Next message: [Python-3000] _heapq.c, etc. (was Re: Heaptypes)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 7/20/07, Guido van Rossum <guido at python.org> wrote:
I definitely don't want to continue the old habit of having a slow and a fast module with different names; the experience with especially cPickle and cStringIO is that everyone believes their code is performance critical and hence uses the C version if it exists, thereby repeating the same idiom over and over.
Actually, I am been surprised myself that the C version of StringIO isn't always faster than the Python one. I have a testcase where using StringIO, instead of cStringIO, is ~20% faster.
-- Alexandre
- Previous message: [Python-3000] _heapq.c, etc. (was Re: Heaptypes)
- Next message: [Python-3000] _heapq.c, etc. (was Re: Heaptypes)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]