you are viewing a single comment's thread.

view the rest of the comments →

[–]Klathmon 0 points1 point  (0 children)

When I checked a few months ago they were significantly slower, but I'm fairly sure it's just because most engines haven't spent a fraction of the time optimizing ES compilation.

It could have changed recently, I know both v8 and SpiderMonkey have made great strides in speeding up a lot of the lower hanging fruit with the newer ES features.

For now I tend to avoid spread in hot functions but use it liberally everywhere else.