]> granicus.if.org Git - python/commit
Tim Peters:
authorGuido van Rossum <guido@python.org>
Mon, 7 Jun 1999 14:28:14 +0000 (14:28 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 7 Jun 1999 14:28:14 +0000 (14:28 +0000)
commit729afc1dff00440e5889c6e884d3908343a5c0cf
tree9bf2ce209191734e4cb11856d3a7c8d5238c28e0
parentfebebe9e79d3ab9e79e307ec3f5d6091765ae9ca
Tim Peters:

Smarter logic for finding a parse synch point.

Does a half to a fifth the work in normal cases; don't notice the speedup,
but makes  more breathing room for other extensions.

Speeds terrible cases by at least a factor of 10. "Terrible" == e.g. you put
""" at the start of Tkinter.py, undo it, zoom to the bottom, and start
typing in code.  Used to take about 8 seconds for ENTER to respond, now some
large fraction of a second.  The new code gets indented correctly, despite
that it all remains "string colored" until the colorizer catches up (after
which, ENTER appears instantaneous again).
Tools/idle/PyParse.py