Hacker News new | ask | show | jobs
by hnaccy 2520 days ago
>Unfortunately Firefox is terribly slow in unpredictable places. I periodically try to find out what exactly makes it work slow in Firefox. For example this change improved twitter.com loading from ~30s to ~1s.

His change[0] was changing array population from repeated concat to push. This is not an unpredictable hot spot but a developer not knowing his tools. Common sense is not premature optimization.

[0] https://github.com/darkreader/darkreader/commit/09b24d052e07...