Changed PS-LOOP to emit DO* (i.e. normal JS for-loop code) rather than DO. It was...
authorDaniel Gackle <danielgackle@gmail.com>
Sat, 11 Apr 2009 22:40:30 +0000 (15:40 -0700)
committerDaniel Gackle <danielgackle@gmail.com>
Sat, 11 Apr 2009 22:40:30 +0000 (15:40 -0700)
commitee03fd807de479827959d3cb060b54278647c16c
treeeb4bf28723831003f46a2496a67e4d0d02b20f5c
parent84338ee6abb9b5023204d5fd13bb4872a32349dc
Changed PS-LOOP to emit DO* (i.e. normal JS for-loop code) rather than DO. It was originally written when DO meant DO* (in today's terms). Using DO here makes the generated code slower and breaks a bunch of our existing cases. Also, DO* produces more idiomatic JS code and should be the default case (there is unfortunately no single default here that gives all the desired behavior, but this is a better tradeoff).
src/lib/ps-loop.lisp