Timing Difference: insert vs. append & reverse

John Keeling johnfkeeling at yahoo.com
Tue Aug 3 04:19:49 EDT 2004


It is so cool to be able to get the disassembly
so easily.... thanks v. much Terry.
Cheers,
John
> >>> import dis
> >>> dis.dis(ldel)
>           0 SET_LINENO               1
>
>           3 SET_LINENO               2
>           6 LOAD_FAST                0 (lisp)
>           9 LOAD_FAST                1 (index)
>          12 DELETE_SUBSCR
>          13 LOAD_CONST               0 (None)
>          16 RETURN_VALUE



More information about the Python-list mailing list