On 2/10/2011 11:14 PM, so wrote:
> On Fri, 11 Feb 2011 08:56:07 +0200, Brad Roberts <bra...@puremagic.com> wrote:
> 
>> On 2/10/2011 10:53 PM, so wrote:
>>>> While in isolation that's a good idea, how far should it be taken? Should 
>>>> the compiler emit information on which
>>>> variables wound up in which registers, and why? What about other of the 
>>>> myriad of compiler optimizations?
>>>
>>> Isn't Inlining by far the most important (most practical) optimization 
>>> among those that actually we can control?
>>> A few times i have seen comparisons here to similar languages and in most 
>>> of them the inlining was the reason (only) for
>>> the inferior performance.
>>> I agree it would be awesome if the compilers had the ability to chose the 
>>> best method, but comparisons show sometimes
>>> the opposite, i don't know maybe they are hand-picked for some reason.
>>
>> Nope.. that'd be choosing the 'right' algorithm.
> 
> Heh, yeh after that.

After that it becomes heavily dependent on what the bottle neck is.  It's rare 
that I've felt the need to mess with
inlining.  But I'm sure this sort of thing is also highly variable based on 
type of applications, code style, language, etc.

Reply via email to