[PATCH] a little optimization of KJS GarbageCollector

Dirk Mueller mueller at kde.org
Thu Dec 1 16:27:35 GMT 2005


On Thursday 01 December 2005 16:49, Lubos Lunak wrote:

>  Backtraces maybe. Step-by-step debugging is a pain without -O0.

Nonsense. -O1 is enough for that, as is -O2 -fno-reorder-blocks 
-fno-schedule-insns -fno-inline

>  And with -O2 gcc itself is so utterly horrible and slow ... . Not that I
> care that much myself, but not everybody has a fast machine and an icecream
> cluster that even the fast machine can't saturate.

We can saturate the icecream scheduler here ;)

>  According to what you've written above such thing doesn't exist with gcc
> in practice. Which means we can skip this and just check if the patch makes
> sense in practice or not.

I don't doubt that the patch makes sense, I just responded to "every sane 
developer should use -O0", which is imho wrong (because of -Wall and the 
other issue I mentioned). 


-- 
Dirk//\




More information about the kde-core-devel mailing list