Message from JavaScript discussions

October 2018

— Im so tired

— 

Summary:
Arrow functions are EXACTLY as performant as normal functions in V8

Arrow functions are MORE performant than normal functions in SpiderMonkey

SpiderMonkey seems to be ahead of V8 in terms of optimization, so V8 will probably catch up a bit in the near future.

What do you think about this determin1st ?

— This is what it seems like after testing with Chrome and Chromium

— What is temporary and static?

— This

— Variable inside fn, variable outside fn

— Ye, lots of declaration VS once

— Stack vs heap allocation?

— Well both happen

— Hmmmm

— But memory is allocated more than once in the temporary one

— Whereas in static, it is a fixed address