From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id C551ABCA2 for ; Thu, 18 Aug 2005 12:40:06 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j7IAe6vx027392 for ; Thu, 18 Aug 2005 12:40:06 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA03559 for ; Thu, 18 Aug 2005 12:40:05 +0200 (MET DST) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j7IAe311027387 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 18 Aug 2005 12:40:05 +0200 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1E5hzv-0003kZ-00; Thu, 18 Aug 2005 11:51:47 +0100 Date: Thu, 18 Aug 2005 11:51:47 +0100 To: Nathaniel Gray Cc: Bardur Arantsson , caml-list@inria.fr Subject: Re: [Caml-list] Cost of register_global_root (was: Stopping a value from getting GC'd) Message-ID: <20050818105147.GA12442@furbychan.cocan.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i From: Richard Jones X-Miltered: at concorde with ID 43046586.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43046584.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 gc'd:01 gtk:01 iirc:01 wwwfun:01 olabl:01 notepad:01 wrote:01 wrote:01 roots:02 root:03 root:03 problem:05 marketing:93 aug:06 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 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