3 ms·
I hear what you're saying, but my intuition disagrees with you. Asmjs was optimized in browsers when I did that test. I think people tend to overestimate how mu
by josephg 4y ago
I hear what you're saying, but my intuition disagrees with you. Asmjs was optimized in browsers when I did that test. I think people tend to overestimate how much subsequent versions of V8 improve performance in niche areas like TypedArrays. Especially now that V8 is very mature.
I suspects if I re-ran that test, performance would have improved across the board but I'd get the same relative performance result with TypedArray code.
It would be fascinating to try though. I wish I kept the code.
- modeless 4y agoI think typed arrays are not a niche area anymore. They were 10 years ago, but today they are very widely used.