[PATCH 2] Speeding up kdebug - using print member

Roger Larsson roger.larsson at norran.net
Fri Oct 17 07:52:17 BST 2003


On Wednesday 15 October 2003 04.39, Roger Larsson wrote:
> On Wednesday 15 October 2003 03.12, Roger Larsson wrote:
> > On Wednesday 15 October 2003 02.02, Nicolas Goutte wrote:
> > > Optimizing kdbgstream could be interesting, especially as the boolean
> > > print is already there.
> >
> > Yes, I tought of that too...
> > But code is better than words - but you are too quick...
> > So it is only compiled, not tested...
>
> This version is compiled and tested. (Previous version had some files that
> sholdn't be part of the path)
>
> Note: defaults has changed to make this effective... (from shell output to
> no output, syslog output also outputs on shell)
>
> At least that is the intention - it is late...
>
> BTW the checks added in .h file should not change binary compatibility
> [IMHO] since they are compiled into the target. If the target does not
> contain that code the patch wont be maximum effective - but still work.
>

No comments on this patch? (Updated to newest CVS)

Really three parts that are in one patch.
1) All pipe operators should check 'print'
2) We should determine if printout is wanted up front, not when most of
   the work is done.
3) Better defaults

/RogerL

-- 
Roger Larsson
SkellefteƄ
Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdebug3.patch
Type: text/x-diff
Size: 10309 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031017/24381725/attachment.patch>


More information about the kde-core-devel mailing list