Skip to content
Tcl Source Code Artifact [a4042d5180]
Login

Artifact [a4042d5180]

Artifact a4042d5180545f69f1e7ed6cfabe77d236dedff4:

Ticket change [a4042d5180] - Ticket [1052584fffffffff|1052584fff] <i>O(1) space [range] command.</i> status still Open with 5 other changes by antirez on 2004-10-26 05:00:12.
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