4 ms·
Indeed. But isn’t it also a waste when someone doesn’t follow through and then we have situations like the one described on the article?
by otikik 4y ago
Indeed. But isn’t it also a waste when someone doesn’t follow through and then we have situations like the one described on the article?
- catiopatio 4y agoSuch cases are rare bugs in a small amount of code — mostly just compilers and hand-written assembly. Preemptively saving and restoring all registers in all callers would appreciably slow down every single function call on every device in the world using that ABI. The cumulative cost would be astronomical.