Skip to content
Tcl Source Code Artifact [c12620ff6b]
Login

Artifact [c12620ff6b]

Artifact c12620ff6b5df4a9874318eb4f21509d79e99603:

Ticket change [c12620ff6b] - New ticket [466037ffffffffff|466037ffff] <i>Optimise getting the head/tail of a list</i>. by msofer on 2001-09-28 13:35:33.
D 2001-09-28T13:35:33
J assignee msofer
J cmimetype text/plain
J comment Let\sthe\scompiler\srecognise\sthe\sidioms\n\s\s[lindex\s$list\s0]\s;#\sget\sthe\shead\sof\s$list\nand\n\s\s[lrange\s$list\s1\send]\s;#\sget\sthe\stail\sof\s$list\nand\scompile-in\soptimised\scode\sfor\sthem.\n\nThe\sidea\sis\sto\smake\sthe\slist\soperations\susual\sin\nfunctional\sprogramming\svery\sefficient.\sThis\sfollows\sa\ndiscussion\sstarted\sin\sc.l.t.\sby\sAcacio\sCruz\s-\sthe\nthread\sdoes\snot\syet\sshow\sup\sin\sgoogle,\sI\swill\sadd\sthe\nreference\sas\ssoon\sas\savailable.\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter msofer
J subsystem 47.\sBytecode\sCompiler
J title Optimise\sgetting\sthe\shead/tail\sof\sa\slist
J type RFE
K 466037ffffffffffffffffffffffffffffffffff
U msofer
Z d91171460b1cd932027e2c2a7a5a4176