[augeas-devel] Label and value index of tree node

Francis Giraldeau francis.giraldeau at usherbrooke.ca
Wed Oct 20 02:24:58 UTC 2010


Le lundi 18 octobre 2010 à 15:48 -0700, David Lutterkort a écrit :
> 
> Yes, I think that would be best to balance the needs of UI and non-UI
> users of the API, even if (as your experiments show) the change only
> increases memory by 5%.
> 
> Ideally, we'd make this a new flag that is passed to aug_init.

Latest patch has the option AUG_NO_NODE_INDEX, and when set, the struct
is not allocated for the node indexes. 

http://github.com/giraldeau/augeas/tree/nodepos

Sincerly, 

Francis





More information about the augeas-devel mailing list