summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-06-07 14:28:14 (GMT)
committerGuido van Rossum <guido@python.org>1999-06-07 14:28:14 (GMT)
commit729afc1dff00440e5889c6e884d3908343a5c0cf (patch)
tree9bf2ce209191734e4cb11856d3a7c8d5238c28e0 /Objects/stringobject.c
parentfebebe9e79d3ab9e79e307ec3f5d6091765ae9ca (diff)
downloadcpython-729afc1dff00440e5889c6e884d3908343a5c0cf.zip
cpython-729afc1dff00440e5889c6e884d3908343a5c0cf.tar.gz
cpython-729afc1dff00440e5889c6e884d3908343a5c0cf.tar.bz2
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