Tuesday, May 15, 2007

Torvalds on optimization

(from the ever-excellent RWT forums - a post on Barcelona optimization)
David Kanter (dkanter@realworldtech.com) on 5/11/07 wrote:
>
> .. it's also not clear how much you really get by using
>stack manipulations versus the alternatives. Is this a 1-2%
>tweak?

Ehh. Do you think there exists any other kind?

Everything wrt instruction selection and scheduling is
about 1-2% tweaks. How do you think you get to 10-20%
optimizations?

There are no silver bullets. The way you get to good
performance is by making sure each part is as good as
it can reasonably get.

Linus

Mmmm....2%

No comments: