[Top][All Lists]

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

[patch #5841] Implement "tower" data structure

From: Ben Pfaff
Subject: [patch #5841] Implement "tower" data structure
Date: Mon, 02 Apr 2007 02:13:27 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061205 Iceweasel/ (Debian-

Follow-up Comment #2, patch #5841 (project pspp):

That's right.  The client code is responsible for all memory management. 
Although this makes some things slightly harder (specifically, you have to go
through a <structure>_data macro to get from a node to client data), it
reduces the number of needed calls to malloc and friends, reduces the amount
of space overhead, and makes it easy to determine the node associated with
given client data.

The tradeoffs are covered fairly well in the big comment at the top of

Thanks for the reviews.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]