summaryrefslogtreecommitdiff
path: root/source3/lib/talloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/talloc.c')
-rw-r--r--source3/lib/talloc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/talloc.c b/source3/lib/talloc.c
index 13393c1a69..ff1bdd0000 100644
--- a/source3/lib/talloc.c
+++ b/source3/lib/talloc.c
@@ -34,6 +34,12 @@
TALLOC_ALIGN alignment
*/
+/* TODO: We could allocate both the talloc_chunk structure, and the
+ * memory it contains all in one allocation, which might be a bit
+ * faster and perhaps use less memory overhead.
+ *
+ * That smells like a premature optimization, though. -- mbp */
+
#include "includes.h"
/** Create a new talloc context. **/