text_combined: nick coghlan uytankmfgmailcom martin v löwis wrote slow example given one returned items needs long py3k longs inside object arent believe optimised one uses c longs internally converts python long returns values whereas longrange uses python long objects internally well oddly enough going make incrementdecrement operations counter quite bit slower one way optimise since need support counting rather arbitrary arithmetic would longrange iterator use simple pure c fixed point arithmetic internally keep track arbitrarily long counter convert python long like optimised shortrange iterator im sure worth hassle though cheers nick nick coghlan uytankmfgmailcom brisbane australia httpwwwboredomandlazinessorg _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom fri 08 aug 2008 162617 1000 python3000 range issues