Re: 2nd post of the night!
jon klein <[email protected]> Thu, 3 Mar 2005 16:04:48 -0500
| Newsgroups | gmane.comp.breve |
|---|---|
| Message-ID | <[email protected]> |
On Mar 3, 2005, at 3:53 PM, Travis Kriplean wrote:
> Hi Jon,
>
> If its not too much trouble, is there anyway I can get a patch for the
> 2.1
> release for the disable-freed-instance problem? I'm running a fairly
> hefty
> multi-leveled GP simulation...thousands of objects are indeed being
> created
> and freed and it gets bogged down fairly quickly (quick enough that
> actual
> large scale simulation is not possible, while testing is possible). I'm
> making a push right now to submit a paper for GECCO's undergrad
> workshop,
> whose due date is rapidly approaching ;) and it would be amazing if I
> could
> have some solid data by then.
At line 69 of file steve/breveFunctionsSteveObject.c, replace:
stSteveData *data = i->object->type->userData;
data->retainFreedInstances = BRINT(&args[0]);
With:
stInstance *si = (stInstance*)i->userData;
si->type->steveData->retainFreedInstances = BRINT(&args[0]);
The latest 2.2 source is also available from CVS, and it's getting to be
pretty stable. It also has a number of enhancements that make it far
faster and use far less memory than 2.1. With the 2.2 source, I've
been able to run much larger simulations than ever before:
https://sourceforge.net/project/admin/?group_id=124663
- jon klein
_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve