.
D 2004-10-26T05:00:12
J icomment Logged\sIn:\sYES\s\nuser_id=67765\n\nnew\spatch\sthat\simports\sfrom\sthe\sMiguel's\spatch\sthe\nidea\sto\savoid\swide\smath\swhen\spossible.\sThe\sarithSeries\nobject\shave\sstart/end/step\sfields\sas\sunions\snow,\sthe\scheck\nto\ssee\sif\sthe\srange\sstores\san\sint\srange\sor\sa\swide\sone\swas\nalready\sthere\sto\sreturn\sthe\sright\stype\sof\sTcl\sobject\sso\sthis\nis\salways\sa\swin.\sActually\sI\sbenchmarked\sthis\spatch\sthat\nshows\sa\snon-trivial\sperformance\sgain.\sThere\sare\snot\ssemantical\nchanges\sin\sthis\spatch,\sshould\sbehave\sthe\ssame\sas\spatch5.\n
J login antirez
J mimetype text/plain
J title O(1)\sspace\s[range]\scommand.
J username antirez
K 1052584fffffffffffffffffffffffffffffffff
U antirez
Z 20ddf49358c8e1ca142f4ff2755c58e7