[Python-Dev] possible Tkinter speedup

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Sat, 17 Jun 2000 00:33:43 +0200


eff-bot wrote:
> bang for the buck?
>=20
> getting a working C version is a whole lot of work

okay, I just proved that I don't know what I'm talking about.  it wasn't
that hard, and the performance boost is rather interesting...

for 5000 vertices:

    Tkinter 1.6:
        10.44 seconds
    Tkinter 1.6 with new flatten:
        0.27 seconds
    Tkinter 1.6 with C version of flatten:
        2.57 milliseconds

patch follows.

</F>