]> granicus.if.org Git - python/commit
* Beef-up tests for str.count().
authorRaymond Hettinger <python@rcn.com>
Sun, 20 Feb 2005 09:54:53 +0000 (09:54 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 20 Feb 2005 09:54:53 +0000 (09:54 +0000)
commit57e7447c447249a33a13da853f8c1bfec546842a
treeb1c4d48fef4139e44d09df84134bd8596c9f22bf
parent7cbf1bcb3e55c61617352ec1b20176603dacbafe
* Beef-up tests for str.count().
* Speed-up str.count() by using memchr() to fly between first char matches.
Lib/test/string_tests.py
Objects/stringobject.c