Update of /cvsroot/agd/server
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23465
Modified Files:
ChangeLog
Log Message:
Removed preallocation of arrays.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/agd/server/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ChangeLog 20 Mar 2004 19:18:42 -0000 1.7
+++ ChangeLog 20 Mar 2004 20:27:54 -0000 1.8
@@ -1,5 +1,12 @@
0.0.2-2:
----------------------------------------------------------------------------
+2004-03-20
+ * changed how arrays are allocated - realloc() is now called at
+ every array_push(), not beforehand. This reduces the memory usage
+ quite a bit (2 times on my test cases), and the malloc/free ratio
+ dropped from 10:1 to 2:1 (estimate numbers)
+ * fixed string concatenation, memory is now correctly allocated
+ (for ' "a" "b" ' style concatenation)
2004-03-18
* +=, -=, *=, /=, %= operators.
2004-03-17
|