News for hackers. Stuff that matters.
Re:KolibriOS – operating system written entirely in assembly... by fractalb on Wednesday April 15, 2020 @04:19AM (#22875629)
> Yes, and remember... optimizing for code size is optimizing for speed. =)

Not always. I think loop-unrolling is a common perf-optimisation technique. Even if the perf-gain is positive in this case, I highly suspect that it doesn't outweigh the cost of maintaining asm code(vs C/other higher level code).

edit: formatting

Re:KolibriOS – operating system written entirely in assembly... by davedx on Wednesday April 15, 2020 @04:37AM (#22875698)
Yep. I remember loop unrolling the skeletal animation code in libgdx way back resulted in a significant performance increase. And that was in Java
Re:KolibriOS – operating system written entirely in assembly... by rurban on Wednesday April 15, 2020 @05:01AM (#22875810)
More so inlining. Much more than loop unrolling.