4 ms·
...and the reason they had to go and optimise it in the first place is because of how much of Firefox is actually not native code, but written in JavaScript! I
by userbinator 5y ago
...and the reason they had to go and optimise it in the first place is because of how much of Firefox is actually not native code, but written in JavaScript! I discovered that the first time I wanted to modify something, and was also rather surprised that it's not been minified either.
- db48x 5y agoMinifying the javascript wouldn’t help anything, as it all gets byte–compiled and then cached. It wouldn’t even make the download smaller, since the download is compressed.
- Jyaif 5y agoIt would make decompression faster, and in practice it would also make the download smaller. The reason they were not minifying the JS is probably that at the time it made debugging and/or analysing stack traces easier.