Optimisation problem

Skip Montanaro skip at pobox.com
Tue Nov 12 14:56:06 EST 2002


    Jeff> a, b = b, a
    ...
    Jeff> A creative individual could possibly write a peephole optimizer to
    Jeff> get rid of BUILD_TUPLE/UNPACK_SEQUENCE, but it means either
    Jeff> reversing the order of calculation or the order of assignment as
    Jeff> well.

A bit dated now, but:

    http://www.musi-cal.com/~skip/python/spam7/optimizer.html

Skip




More information about the Python-list mailing list