From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (8.9.3+3.2W/8.9.3/Debian 8.9.3-21) with ESMTP id PAA13966; Thu, 1 Aug 2002 15:43:54 +0900 Received: from tonton.nagaokaut.ac.jp (tonton [133.44.2.115]) by kankan.nagaokaut.ac.jp (8.11.3/8.11.3) with ESMTP id g716if158282; Thu, 1 Aug 2002 15:44:41 +0900 (JST) (envelope-from ruby-core-admin@ruby-lang.org) Received: (from root@localhost) by tonton.nagaokaut.ac.jp (8.11.3/8.11.3) id g716ifc19254; Thu, 1 Aug 2002 15:44:41 +0900 (JST) (envelope-from ruby-core-admin@ruby-lang.org) Received: from cherry.nagaokaut.ac.jp (cherry.nagaokaut.ac.jp [133.44.1.102]) by tonton.nagaokaut.ac.jp (8.11.3/8.11.3av) with ESMTP id g716ib519238; Thu, 1 Aug 2002 15:44:37 +0900 (JST) (envelope-from ruby-core-admin@ruby-lang.org) Received: from helium.ruby-lang.org (helium.ruby-lang.org [210.251.121.214]) by cherry.nagaokaut.ac.jp (8.12.5/8.12.5) with ESMTP id g716iaV1024532; Thu, 1 Aug 2002 15:44:37 +0900 (JST) (envelope-from ruby-core-admin@ruby-lang.org) Received: from helium.ruby-lang.org (localhost [127.0.0.1]) by helium.ruby-lang.org (Postfix) with ESMTP id 462B41602; Thu, 1 Aug 2002 15:39:32 +0900 (JST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by helium.ruby-lang.org (Postfix) with SMTP id B8EEB15EF for ; Thu, 1 Aug 2002 15:39:28 +0900 (JST) Received: (qmail 23692 invoked by uid 0); 1 Aug 2002 06:39:26 -0000 Received: from pd9e38b81.dip.t-dialin.net (HELO lony) (217.227.139.129) by mail.gmx.net (mp010-rz3) with SMTP; 1 Aug 2002 06:39:26 -0000 Date: Thu, 1 Aug 2002 15:39:31 +0900 Posted: Thu, 1 Aug 2002 08:37:15 +0200 From: "Christoph" Reply-To: ruby-core@ruby-lang.org Subject: RE: A truth? patch + benchmarks To: Message-Id: <001401c23925$e0cbc8e0$0100a8c0@lony> In-Reply-To: <200207311458.g6VEwat04696@moulon.inra.fr> X-ML-Name: ruby-core X-Mail-Count: 00283 X-MLServer: fml [fml 3.0pl#17]; post only (only members can post) X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address ruby-core-ctl@ruby-lang.org; help= X-Mailer: Microsoft Outlook, Build 10.0.3416 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Precedence: bulk X-Virus-Scanned: by AMaViS perl-10 > -----Original Message----- > From: ts [mailto:decoux@moulon.inra.fr] > Sent: Wednesday, July 31, 2002 5:04 PM > To: ruby-core@ruby-lang.org > Cc: ruby-core@ruby-lang.org > Subject: Re: A truth? patch + benchmarks > > >>>>> "C" == Christoph writes: > > C> I also cooked up simple minded an implementation. It is based on > C> a FL_FALSE flag (I defined it to be 1<<5 not sure if this can > C> case any problem?) similar to the frozen or tainted flags - that > C> is I added there methods (the method names ain't great ..) > > Not really sure but the values < 64 reserved for T_MASK > > #define T_NIL 0x01 > #define T_OBJECT 0x02 > [etc] > #define T_NODE 0x3f > > #define T_MASK 0x3f Hm, what about using FL_USER7? More generally, is there any unused flag left? /Christoph