Re: [PATCH] Re: [xml] xmlDocDumpMemory() is VERY slow on Win32

On Wed, 2004-07-14 at 19:01, Daniel Veillard wrote:

  It's Bastille Day, so I'm low bandwidth

And the Tour :)

  my only concern is that it makes all buffers growing faster,
but it might be worth it,

I am not sure that this is a problem per se.

I am not familiar with the virtual memory model of Windows, but if
it is anything like that of Unix, and it probably is, then it would
not cause a problem because memory pages that are not use until they
are written to, so it should not burden the memory.

I have previously solved a the same performance problem in a different
context, by going from linear to exponential buffer enlargements as
Steve has suggested. That did not result in any lack of memory problems.

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