Revision: 54880
http://brlcad.svn.sourceforge.net/brlcad/?rev=54880&view=rev
Author: brlcad
Date: 2013-03-26 15:16:15 +0000 (Tue, 26 Mar 2013)
Log Message:
-----------
set the initial dynamic allocation to 256 for better memory alignment and
doubling in powers of two
Modified Paths:
--------------
brlcad/trunk/src/other/lemon/lempar.c
Modified: brlcad/trunk/src/other/lemon/lempar.c
===================================================================
--- brlcad/trunk/src/other/lemon/lempar.c 2013-03-26 15:15:17 UTC (rev
54879)
+++ brlcad/trunk/src/other/lemon/lempar.c 2013-03-26 15:16:15 UTC (rev
54880)
@@ -238,7 +238,7 @@
int newSize;
yyStackEntry *pNew;
- newSize = p->yystksz*2 + 100;
+ newSize = p->yystksz*2 + 256;
pNew = realloc(p->yystack, newSize*sizeof(pNew[0]));
if( pNew ){
p->yystack = pNew;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits