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 Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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