3 ms·
The heavy use of |arguments| may be an issue here. arguments is an object that is only created if actually needed in most JS engines, but it looks like here eve
by azakai 15y ago
The heavy use of |arguments| may be an issue here. arguments is an object that is only created if actually needed in most JS engines, but it looks like here every single function will need it? That might be a significant amount of additional overhead.
- swannodette 15y agoOnly functions which leverage multiple arities will use arguments. That said, it seems like a fairly simple optimization to the compiler to avoid resorting to arguments.
- cdcarter 15y agoI believe Closure optimizes many uses of arguments.
- deleted 15y ago[deleted]