On Tue, Feb 20, 2007 at 03:05:30AM -0600, Joshua Isom wrote:

> Also, looking through the gcc manpage, one thing caught my eye about  
> optimizing, with regards to CG and CGP.  "Note: When compiling a  
> program using computed gotos, a GCC extension, you may get better  
> runtime performance if you disable the global common subexpression  
> elimination pass by adding -fno-gcse to the command line."  It would be  
> interesting to benchmark this with parrot, as the cg and cgp runcores  
> work by computed gotos.  But, gcse fails on the cgp core because it's  
> too complicated anyway so it may not matter.  Anything for that  
> hundredth of a second, right?

The counter to that is that if one can arrange for the compiler to do as
many (legitimate) yak shaving optimisations as possible, it frees the
programmer's time up to increase functionality (or find better algorithms).

Nicholas Clark

Reply via email to