Ingvar Stepanyan
4c318166e1
Added complete TCO (tail call optimization).
...
Works across functions and generates simpler and faster code than #701 .
Works even across files when used in conjunction with `runtime` option.
Closes #256 .
2015-02-07 22:22:38 +02:00
Sebastian McKenzie
567479787b
update tests to reflect new helper compact behaviour
2015-01-26 11:48:35 +11:00
Sebastian McKenzie
4c9e39afa1
replace slice with a loop in rest parameters
2015-01-06 17:05:52 +11:00
Sebastian McKenzie
d945379b5b
remove isDynamic checks and always execute those expressions **once**
2015-01-03 21:48:06 +11:00
James Kyle
888ab5473a
Only slice arguments when necessary - fixes #239
2014-12-02 16:46:48 -08:00
Sebastian McKenzie
1a1e6bc3ba
remove arguments-to-array helper
2014-11-25 23:56:38 +11:00
Sebastian McKenzie
32f8f9e663
change arguments to array to an additional faster helper method
2014-11-23 21:43:28 +11:00
Sebastian McKenzie
3396cc84f1
fix spread not returning a new array with a single spread element
2014-11-23 20:16:10 +11:00
Sebastian McKenzie
24d9833170
better categorisation of transformers
2014-11-23 16:15:39 +11:00