Re:Three JavaScript performance fundamentals that make Blueb...
by yxhuvud on Monday September 05, 2016 @04:53PM
(#12432184)
I don't understand how value oriented vs object oriented matter considering the allocations in question was functions. Functions are hard to optimize away due to the nature of functions being closures with pointers to the defining scope. Can you please elaborate what you mean?
[ Parent
| on HN ]
Re:Three JavaScript performance fundamentals that make Blueb...
by catnaroek on Monday September 05, 2016 @05:09PM
(#12432250)
If the identity of a function object doesn't matter, then a compiler can automatically lambda-lift inner functions that don't capture variables, without introducing new arguments.