From: "Mauricio Fernández" Date: 2002-10-03T03:04:48+09:00 Subject: Re: R On Tue, Oct 01, 2002 at 01:34:22PM +0900, Bulat Ziganshin wrote: > Hello Mauricio, > > Monday, September 30, 2002, 7:16:57 PM, you wrote: > > MF> Even w/ dynamic typing, method dispatching can be made quite fast: look > MF> at Psyco, the specializing Python compiler. Not as relevant to AST tree > MF> walks as to bytecode interpretation, though. > > well, i think that we can combine hashing and offsets for method > dispatching - just analyze the program and create offset entry in all > classes for all method names we found And sometimes per object too. Plus those tables could be *huge* (consider accessors). Plus methods defined later, and eval, and... -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com * gb notes that fdisk thinks his cdrom can store one terabyte -- Seen on #Linux