[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Caution on Boids
From: |
Robert |
Subject: |
Re: Caution on Boids |
Date: |
Sat, 08 Apr 2000 19:30:11 -0400 |
Thanks, Marcus!! That was a very helpful description of
the problems (useful in assisting me with my own memory
leaks)
"Marcus G. Daniels" wrote:
> >>>>> "RB" == Robert Bell <address@hidden> writes:
>
> RB> Any idea where the problem is?
>
> Note: I'm am *not* volunteering to maintain this app.
>
> 1. PriorityQueue has leaks. I avoided the leaks by putting them in a
> temporary workspace zone.
>
> 2. A calculation object in [Boid -visible:] was not dropped.
>
> 3. An index wasn't dropped in [Polygon -createItem].
>
> 4. The Tcl/Tk coordinate string was not dropped in [Polygon -erase].
>
> Other problems:
>
> A. +create: was used in several places where +createBegin: was called for.
>
> B. Lack of handling for missing nodes in a PriorityQueue, resulting in
> nil_method exceptions.
>
==================================
Swarm-Modelling is for discussion of Simulation and Modelling techniques
esp. using Swarm. For list administration needs (esp. [un]subscribing),
please send a message to <address@hidden> with "help" in the
body of the message.
==================================