3 ms·
That's quite poetic considering your C is far from idiomatic. Surely manipulating pointers would be the expected way of doing this, and probably easier to opti
by VBprogrammer 16y ago
That's quite poetic considering your C is far from idiomatic.
Surely manipulating pointers would be the expected way of doing this, and probably easier to optimise for the compiler.
- thelonecabbage 16y agoBecause array syntax is clearer (to me), does the exact same thing, and the speed of a computer doubles every 24 months but programmers don't.
- thaumaturgy 16y agoI'm not picking on you, but this is a common sentiment among many programmers that really aggravates the hell out of me. Because of that kind of thinking, lots and lots of people are being forced to replace perfectly good hardware just to be able to run software "designed" for newer systems. The expected benefits from Moore's Law are nearly nonexistent, except for a few specific niches.
- ido 16y ago> Because of that kind of thinking, lots and lots of people are being forced to replace perfectly good hardware just to be able to run software "designed" for newer systems. Feature, not a bug (for the providers, anyway).
- nfnaaron 16y agoIt doesn't actually do the exact same thing: http://c-faq.com/aryptr/aryptr2.html http://c-faq.com/aryptr/aryptr2.html