Impressions of Mozart-Oz
Tue Dec 17 11:38:02 CET 2002
James Hague <> writes:
> Wandering a bit, I'd be curious to know about the history of the
> undocumented "vector" module, a C implementation of functional arrays.
> Sometimes not having fast array updates hurts, and this sounds like a good
> solution. But it has been in stealth mode for a couple of releases now.
The current implementation of vectors is not as fast as it could be,
as it forces a fullsweep (major) garbage collection as soon as an vector
update has created pointers from the old generation heap to the new
For some uses, vectors will still out-perform other data structures.
We hope to make the vectors faster in a future release by implementing
a proper write barrier in the garbage collector.
Björn Gustavsson Ericsson Utvecklings AB
+46 8 727 56 87 125 25 Älvsjö
More information about the erlang-questions