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 AAA29303; Thu, 1 Aug 2002 00:03:06 +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 g6VF3n133011; Thu, 1 Aug 2002 00:03:49 +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 g6VF3nP73518; Thu, 1 Aug 2002 00:03:49 +0900 (JST) (envelope-from ruby-core-admin@ruby-lang.org) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by tonton.nagaokaut.ac.jp (8.11.3/8.11.3av) with ESMTP id g6VF3m573511; Thu, 1 Aug 2002 00:03:48 +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 voscc.nagaokaut.ac.jp (8.12.5/8.12.5) with ESMTP id g6VF3ja3095391; Thu, 1 Aug 2002 00:03:45 +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 202C1162B; Thu, 1 Aug 2002 00:03:47 +0900 (JST) Received: from moulon.inra.fr (moulon.inra.fr [138.102.114.1]) by helium.ruby-lang.org (Postfix) with ESMTP id 235DC1626 for ; Thu, 1 Aug 2002 00:03:44 +0900 (JST) Received: from moulon.inra.fr (localhost [127.0.0.1]) by moulon.inra.fr (8.10.1/8.10.1) with ESMTP id g6VEwa704701 for ; Wed, 31 Jul 2002 16:58:36 +0200 (MET DST) Received: (from decoux@localhost) by moulon.inra.fr (8.10.1/8.10.1) id g6VEwat04696; Wed, 31 Jul 2002 16:58:36 +0200 (MET DST) Date: Thu, 1 Aug 2002 00:03:46 +0900 Posted: Wed, 31 Jul 2002 16:58:36 +0200 (MET DST) From: ts Reply-To: ruby-core@ruby-lang.org Subject: Re: A truth? patch + benchmarks To: ruby-core@ruby-lang.org Cc: ruby-core@ruby-lang.org Message-Id: <200207311458.g6VEwat04696@moulon.inra.fr> In-Reply-To: <000001c238a0$d32538f0$0100a8c0@lony> (chr_news@gmx.net) References: <000001c238a0$d32538f0$0100a8c0@lony> X-ML-Name: ruby-core X-Mail-Count: 00280 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= Precedence: bulk X-Virus-Scanned: by AMaViS perl-10 >>>>> "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 Guy Decoux