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
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml