Working with JavaScript arrays in ninja style (annoyscript.vercel.app) 2 points by chilling 2y ago ↗ HN
[–] softwarelounge 2y ago ↗ The use of the wheelchair emoji for the slow "laydev" is a bit yikes.Anyway, I tried the benchmark linked and on Firefox the "ninja style" was 12.26 % slower, not 4.2x faster like the article suggests. [–] chilling 2y ago ↗ Interesting observation with Firefox. It probably comes from the fact that Mozilla use different JavaScript engine than V8 (SpiderMonkey).But thank you for the feedback - will update the post accordingly.
[–] chilling 2y ago ↗ Interesting observation with Firefox. It probably comes from the fact that Mozilla use different JavaScript engine than V8 (SpiderMonkey).But thank you for the feedback - will update the post accordingly.
4 comments
[ 2.8 ms ] story [ 21.7 ms ] threadAnyway, I tried the benchmark linked and on Firefox the "ninja style" was 12.26 % slower, not 4.2x faster like the article suggests.
But thank you for the feedback - will update the post accordingly.