]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Super-elegant patch by Tim Peters that speeds up colorization
authorGuido van Rossum <guido@python.org>
Thu, 22 Apr 1999 13:38:40 +0000 (13:38 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 22 Apr 1999 13:38:40 +0000 (13:38 +0000)
commite62e76c38322ebb88bcf54a933a07291d9e7c5ba
tree27f9d2bf40c2fac433ccb2a22687f5f0035f49dd
parent693a2c65812eb61a87cacf1a23b83db35bbf9552
Super-elegant patch by Tim Peters that speeds up colorization
dramatically (up to 15 times he claims).  Works by reading more than
one line at a time, up to 100-line chunks (starting with one line and
then doubling up to the limit).  On a typical machine (e.g. Tim's
P5-166) this doesn't reduce interactive responsiveness in a noticeable
way.
Tools/idle/ColorDelegator.py