logoalt Hacker News

CGMthrowawaylast Tuesday at 5:49 PM1 replyview on HN

Starting with machine code expands lines of code 2-10x.

It's also taking helper functions and pre-evaluating them putting results inline, and unrolls loops (could be 5-50x increase where they exist?)

And it precalculates lookup tables (takes up space) for virtual methods.


Replies

taericlast Tuesday at 5:58 PM

Right, I know what sort of things happen in that process. And to be fair, I'm mainly poking fun at how bad the web page has become.

I do feel that this bloat is, far and away, the worst offender when it comes to why things feel slower nowadays. The application just flat out does way more than most people assume it can. Which means it almost certainly has way more capabilities than it needs for many of us.

Would be neat to see a metric on "how much of the code is never loaded" in typical use. Akin to some game medals of "played more than x% of players."