2 ms·
> A bad register allocation decision could cost 5% in the wrong circumstance 5% of what? >yet no one is suggesting reintroducing the register keyword If I un
by pandaman 3y ago
> A bad register allocation decision could cost 5% in the wrong circumstance
5% of what?
>yet no one is suggesting reintroducing the register keyword
If I understood you, you mean that some variable might be allocated on stack instead of register and we need "register" keyword to alleviate this? Not really, when such thing happens we write asm() block which has all capabilities of the old register keyword and much more. And if 5% is latency then who in real time would not get to asm() to get it? This whole talk of "1% this, 5% that" seems just some kind of reddit meme. Would you give me 1% of your income for nothing? If not then why would you increase latency by 1%? Would you write five line of assembly to get 5% raise? If you would, then why would not you want to do it to drop latency by that much?