Revision: 55054
http://brlcad.svn.sourceforge.net/brlcad/?rev=55054&view=rev
Author: brlcad
Date: 2013-04-05 03:52:10 +0000 (Fri, 05 Apr 2013)
Log Message:
-----------
few comments, still need to track and reuse freed memory
Modified Paths:
--------------
brlcad/trunk/src/libbu/heap.c
Modified: brlcad/trunk/src/libbu/heap.c
===================================================================
--- brlcad/trunk/src/libbu/heap.c 2013-04-05 03:51:28 UTC (rev 55053)
+++ brlcad/trunk/src/libbu/heap.c 2013-04-05 03:52:10 UTC (rev 55054)
@@ -33,6 +33,9 @@
* arbitrarily large except where there are very few allocations (each
* size will allocate at least one page). PAGESIZE should be some
* multiple larger than BINS.
+ *
+ * Embedded or memory-constrained environments probably want to set
+ * this a lot smaller than the default.
*/
#define BINS 1024
@@ -214,6 +217,8 @@
return;
}
+ /* TODO: actually do something useful :) */
+
return;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits