Re: [xml] reduce padding in xpath.h



On Wed, Feb 02, 2005 at 04:08:02PM +0100, oliverst online de wrote:

struct _xmlXPathObject in xpath.h

If you move the "floatval" below the stringval you save 8 bytes per
structure when the memory alignment is set to the default 8 bytes. It's
not an often used structure, but I still think the change might be OK.

  Should be added in the code as a comment for future releases, but right
now it's impossible to do, it would break ABI unfortunately !

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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