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 QAA15937; Thu, 1 Aug 2002 16:02:16 +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 g71733158817; Thu, 1 Aug 2002 16:03:03 +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 g71733Y20203; Thu, 1 Aug 2002 16:03:03 +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 g71730520188; Thu, 1 Aug 2002 16:03:00 +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 g7172ta3009892; Thu, 1 Aug 2002 16:02:59 +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 66EAE15F1; Thu, 1 Aug 2002 16:02:56 +0900 (JST) Received: from picachu.netlab.jp (picachu2.netlab.jp [210.163.138.98]) by helium.ruby-lang.org (Postfix) with ESMTP id DB11115EC for ; Thu, 1 Aug 2002 16:02:55 +0900 (JST) Received: from ev.(none) (dhcp182.priv.netlab.jp [192.168.1.182]) by picachu.netlab.jp (Postfix) with SMTP id A4DA62D0B7 for ; Thu, 1 Aug 2002 16:02:55 +0900 (JST) Received: (nullmailer pid 10421 invoked by uid 1000); Thu, 01 Aug 2002 07:02:55 -0000 Date: Thu, 1 Aug 2002 16:02:56 +0900 Posted: Thu, 01 Aug 2002 16:02:55 +0900 From: matz@ruby-lang.org (Yukihiro Matsumoto) Reply-To: ruby-core@ruby-lang.org Subject: Re: A truth? patch + benchmarks To: ruby-core@ruby-lang.org Message-Id: <1028185375.463992.10420.nullmailer@picachu.netlab.jp> In-Reply-To: "Christoph"'s message of "Thu, 1 Aug 2002 15:39:31 +0900" <001401c23925$e0cbc8e0$0100a8c0@lony> References: <001401c23925$e0cbc8e0$0100a8c0@lony> X-ML-Name: ruby-core X-Mail-Count: 00284 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: cmail 2.61.1 on GNU Emacs 21.2.1 / Mule 5.0 (SAKAKI) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory?= =?ISO-8859-4?Q?=F2mae?=) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI) Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Precedence: bulk X-Virus-Scanned: by AMaViS perl-10 Hi, In message "RE: A truth? patch + benchmarks" on 02/08/01, "Christoph" writes: |> 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? Unfortunately, there's no bit available for all objects. All flag bits are used to represent NODEs' line number. By the way, I still don't know why the inlined function is faster than the simple macro. Does anybody reveal the secret for me? matz.