Originally Posted by Mrs Beanbag
Well then you would say, if you wrote the quick sort in asm it would be ever faster still. And you'd be right. But the user really doesn't care if he gets his result in a tenth of a second or a hundredth of a second, but he sure as hell doesn't want to have to wait ten minutes.
Sure, but on 68k fast code is almost as important as using the right algorithm. Imagine having an amount of data you want to sort that takes five seconds to sort with same crappy C quick sort, while it takes one or two with a highly optimized asm quick sort. I know what the user is going to prefer in such scenarios.
When dealing with the asm vs C question you have to ask yourself why you want to write in asm. Some people write asm because they enjoy it as a hobby. Seems perfectly legit to me.