Excuse me, I mean python2.4 -mtimeit -s 'from numarray import array; d = {(100,500):[5,5], (100,501):[6,6], (100,502):[7,7]}; x = dict(d);' 'for i in x.values(): i[0]*=1;i[1]*=1' 1000000 loops, best of 3: 1.72 usec per loop
i[0]*=1, not j[0]*=1 ... -- http://mail.python.org/mailman/listinfo/python-list