3 ms·
Yeah, this was a time when I learned that compilers are smarter than me. With all available optimization guides in mind, I implemented Bresenham line drawing in
by wruza 9y ago
Yeah, this was a time when I learned that compilers are smarter than me. With all available optimization guides in mind, I implemented Bresenham line drawing in assembly and also in C. It was pretty depressing when Watcom C compiler shown ~2.5x speedup on 486 with listing that I could barely understand.