mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
e475e70128
this patch adds a fast _flatten function to the _tkinter module, and imports it from Tkinter.py (if available). this speeds up canvas operations like create_line and create_polygon. for example, a create_line with 5000 vertices runs about 50 times faster with this patch in place. |
||
---|---|---|
.. | ||
Canvas.py | ||
Dialog.py | ||
FileDialog.py | ||
FixTk.py | ||
ScrolledText.py | ||
SimpleDialog.py | ||
tkColorChooser.py | ||
tkCommonDialog.py | ||
Tkconstants.py | ||
Tkdnd.py | ||
tkFileDialog.py | ||
tkFont.py | ||
Tkinter.py | ||
tkMessageBox.py | ||
tkSimpleDialog.py | ||
turtle.py |