diff options
| author | Guido van Rossum <guido@python.org> | 1999-06-07 14:28:14 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1999-06-07 14:28:14 +0000 |
| commit | 729afc1dff00440e5889c6e884d3908343a5c0cf (patch) | |
| tree | 9bf2ce209191734e4cb11856d3a7c8d5238c28e0 /Objects/stringobject.c | |
| parent | febebe9e79d3ab9e79e307ec3f5d6091765ae9ca (diff) | |
| download | cpython-git-729afc1dff00440e5889c6e884d3908343a5c0cf.tar.gz | |
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).
Diffstat (limited to 'Objects/stringobject.c')
0 files changed, 0 insertions, 0 deletions
