Sebastian McKenzie
80764c214a
add rest parameter comments
2015-01-15 19:52:53 +11:00
Sebastian McKenzie
55054e45da
Revert "Improve performance of rest parameter."
...
This reverts commit e5463cc2a97cafbf9d35656038f19b45dd75ffce.
2015-01-15 19:34:33 +11:00
Lee Byron
e5463cc2a9
Improve performance of rest parameter.
...
Rather than initing an empty array and filling, create an array of the correct size up-front. Minor gain on chromium, but considerably (~5x) faster in spidermonkey/firefox.
2015-01-14 19:08:14 -05:00
Sebastian McKenzie
1696f77980
fix rest parameter keys when on functions with params
2015-01-06 20:15:10 +11:00
Sebastian McKenzie
ed51728aba
remove unused variable
2015-01-06 17:43:26 +11:00
Sebastian McKenzie
4c9e39afa1
replace slice with a loop in rest parameters
2015-01-06 17:05:52 +11:00
Sebastian McKenzie
1a1e6bc3ba
remove arguments-to-array helper
2014-11-25 23:56:38 +11:00
Sebastian McKenzie
f80527832c
remove unused variables
2014-11-23 21:45:10 +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
24d9833170
better categorisation of transformers
2014-11-23 16:15:39 +11:00