Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: [PATCH] Small improvement at genlist and maphand
Home

[Freeciv-Dev] Re: [PATCH] Small improvement at genlist and maphand

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] Small improvement at genlist and maphand
From: Alan Schmitt <alan.schmitt@xxxxxxxx>
Date: Sat, 25 Aug 2001 10:17:53 +0200

Modern GC (incremental, with several generations) can be pretty fast
(such as the one in ocaml), and they can be pretty smart (ie collect
everything automatically) when the language was designed with automatic
memory management in mind.

Alan Schmitt

* Vasco Alexandre Da Silva Costa (vasc@xxxxxxxxxxxxxx) wrote:
> Yes. Unfortunately it introduces new problems. Most GC's are dumb so
> you must set all pointers that point to a piece of mem to NULL so the
> GC can see that the memory isn't used anymore. GC's are also often slow
> when doing the garbage collecting step. I should know about that as a
> former LISP programmer :-)
> Sure its easy to use. But it isn't perfect.
> 
> ---
> Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
> 
> 
> 


--
The hacker: someone who figured things out and made something cool happen.


[Prev in Thread] Current Thread [Next in Thread]