Browse thread
[Caml-list] Stopping a value from getting GC'd
[
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: | Richard Jones <rich@a...> |
| Subject: | Re: [Caml-list] Cost of register_global_root (was: Stopping a value from getting GC'd) |
On Wed, Aug 17, 2005 at 06:31:13PM -0700, Nathaniel Gray wrote: > One thing that the FM doesn't mention is how expensive it is to > register a global root. Can I register thousands of them or will > there be performance problems? Yes, there is a performance problem. A Gtk program we wrote used (IIRC) GtkListView, which caused 1000s of roots to be registered. The program slowed down appreciably. http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk-list/1062 Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com