[Python-Dev] str.count is slow (original) (raw)
Armin Rigo arigo at tunes.org
Sun Mar 12 16:26:13 CET 2006
- Previous message: [Python-Dev] decorator module patch
- Next message: [Python-Dev] PythonCore\CurrentVersion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Ben,
On Mon, Feb 27, 2006 at 06:50:28PM -0500, Ben Cartwright wrote:
> It seems to me that str.count is awfully slow. Is there some reason > for this?
stringobject.c could do with a good clean-up. It contains very similar algorithms multiple times, in slightly different styles and with different performance characteristics.
If I find some motivation I'll try to come up with a patch.
A bientot,
Armin
- Previous message: [Python-Dev] decorator module patch
- Next message: [Python-Dev] PythonCore\CurrentVersion
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]