lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Ledger::write() -- adding DOCTYPE support to xmlwrapp?


From: Greg Chicares
Subject: Re: [lmi] Ledger::write() -- adding DOCTYPE support to xmlwrapp?
Date: Wed, 17 Dec 2008 02:13:40 +0000
User-agent: Thunderbird 2.0.0.18 (Windows/20081105)

On 2008-12-16 23:52Z, Vaclav Slavik wrote:
> 
> Clearly, using an elements-only iterator (where operator++ goes to the
> next element, not node) instead of find()-like API will help with
> performance, then. But perhaps we should consider improving performance
> of the iterators in general too, because people are used to having cheap
> iterators and to e.g. call end() in a loop:
> 
>       for(child = x.begin(); child != x.end(); ++child)

I completely agree, and I endorse what you're doing.

Avoiding calls to operator new also makes memory-checking tools
run faster--and if they run too slowly, then we're less likely
to use them.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]