texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Re: Contributing to TeXmacs: garbage collector


From: David MENTRE
Subject: Re: [Texmacs-dev] Re: Contributing to TeXmacs: garbage collector
Date: Mon, 16 Jan 2006 19:00:37 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Hello,

[ Disclaimer: I don't want to start a flame on GC, just add some
  additional information. ]

Joris van der Hoeven <address@hidden> writes:

> Currently, most objects are tree-like structures with reference counting.
> As long as objects are really trees, reference counting is probably
> the best strategy.

Well, reference counting adds an overhead on all pointer handling
operations, as well as additional memory (and thus cache) use. I made
this explicit with some profiling some time ago.

That's said, David Allouche tried a long time ago to add Boehm GC to
TeXmacs but this operation failed to add any performance improvement
(memory use was increased by a factor of 1.5 or 2). But maybe Stijn and
Niels can add a more efficient GC?

Yours,
david
-- 
pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <address@hidden>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A





reply via email to

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