Re: [xml] libxml2 [Sub-document C14N / Custom Malloc]
- From: "Martin B." <0xCDCDCDCD gmx at>
- To: xml gnome org
- Subject: Re: [xml] libxml2 [Sub-document C14N / Custom Malloc]
- Date: Fri, 12 Mar 2010 13:53:07 +0100
Tejus A G wrote:
> Hi All,
> I have 2 queries w.r.t libxml2 API/usage.
>
> 1. ....
> 2. Is there any way to give the libXML2 library a custom malloc
function ?
> So, that all memory allocations the library does goes through it
instead of
> whatever libXML2 is using.
>
See:
xmlMemSetup
xmlGcMemSetup
(Note: We have successfully used these on windows (together with
HeapCreate / HeapAlloc / HeapFree) to significantly improve the
performance of xml parsing in a heavily multithreaded app.)
br,
Martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]