[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: KDE/kdelibs/kate/mode
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-10-16 21:26:51
Message-ID: 20071016212651.GA17670 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 16.10.07 23:05:18, Sebastian Pipping wrote:
> Anders Lund wrote:
> > On Tuesday 16 October 2007, Sebastian Pipping wrote:
> >> No idea. The debug output makes Kate so slow I can't
> >> measure any differences.
> > 
> > This is something I have a long time desire to clean up.
> > 
> > Esp. the highlighting file is bad, but there are several other files that 
> > output way too much blabber. That would be another nice topic for a cleenup 
> > meeting ;)
> 
> I'm in.
> 
> Btw I used a macro to get zero debug speed loss for
> releases builds. Would be cool if we could make that
> configurable from outside the sources. If you like
> it would could use it at other places, too.

Excuse my ignorance (of the kate code that prints something) but that
code already exists, if you output using kDebug(). kDebug() calls do
nothing in release builds, so as long as you're printing with kDebug()
the release build won't be as noisy as your debug build. 

And even in debug builds you can get a speedup if you use the right
kdebug area and then disable printing that area via kdebugdialog.

If you're talking about other stuff, please just ignore me :)

Andreas

-- 
You will engage in a profitable business activity.
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic