Version française
Home     About     Download     Resources     Contact us    
Browse thread
caml_oldify_local_roots takes 50% of the total runtime
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] caml_oldify_local_roots takes 50% of the total runtime
On Wed, 2006-10-25 at 14:21 -0400, Markus Mottl wrote:

> It would be great if the GC could be improved in situations where
> there are many local roots.  This is a pretty common problem when
> interfacing non-trivial third party libraries, and the clumsy
> workarounds require writing somewhat error-prone code. 

Just curious .. but why is there *ever* any need for more than
one root? If you need to add a root, why not just add to
an already rooted data structure? Would that solve the problem?

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net