pspp-dev
[Top][All Lists]
Advanced

[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:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-1)

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
src/libpspp/ll.h.

Thanks for the reviews.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?5841>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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