Browse thread
[Caml-list] GC and interoperability with C
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Xavier Leroy <Xavier.Leroy@i...> |
| Subject: | Re: [Caml-list] GC and interoperability with C |
> I've played a bit with this, and I have an observation that huge amount > of time is spent on remove_global_root(a). I'm not surprised :-) Currently, remove_global_root is implemented by linear search in a singly-linked list... I believe you're the first to really stress-test remove_global_root; most OCaml applications just register a dozen external roots and never remove them. I'll improve the implementation when I find some free time. - Xavier Leroy ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr