[Development] Replace QtXml backend
Thiago Macieira
thiago.macieira at intel.com
Tue Jul 28 02:49:55 CEST 2015
On Monday 27 July 2015 16:25:10 Thiago Macieira wrote:
> > Reusing libxml2 and libxlt should actually cause code decrease.
>
> Huh... not really
>
> It would cause a minimal decrease for anyone using qtwebengine, but it
> would increase the code size for everyone who isn't.
Remember that every shared library loaded at runtime implies an additional
minimum of 4 kB of non-sharable, faulted in and dirty memory.
libxml2 has a RW segment of 0x000000000000a6f8 bytes, while libxslt has
0x0000000000001620 bytes. Since those segments are not aligned at page
boundaries, that means libxslt occupies 8 kB and libxml2 16 kB
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list