]> granicus.if.org Git - python/commit
needforspeed: use append+reverse for rsplit, use "bloom filters" to
authorFredrik Lundh <fredrik@pythonware.com>
Tue, 23 May 2006 18:44:25 +0000 (18:44 +0000)
committerFredrik Lundh <fredrik@pythonware.com>
Tue, 23 May 2006 18:44:25 +0000 (18:44 +0000)
commitb63588c1881c350d209d389804dce4d8f5ca34d7
treed9a437d3c4231cc9175659337c540b23fcbe161a
parent7298f270a7163b923e42de97c50f3c0c9c5922a5
needforspeed: use append+reverse for rsplit, use "bloom filters" to
speed up splitlines and strip with charsets; etc.  rsplit is now as
fast as split in all our tests (reverse takes no time at all), and
splitlines() is nearly as fast as a plain split("\n") in our tests.
and we're not done yet... ;-)
Objects/unicodeobject.c