>>>>> "NI" == Nick Ing-Simmons <[EMAIL PROTECTED]> writes: NI> So having the object carry around a (pointer to a) table to methods NI> has merit. But how to index that table? Computing the union of all possible NI> method names for all possible classes and assiging each a slot in the table NI> will yield a very large table which for any particular class will be sparse. NI> Hence perl5's use of class's "stash" hash has where to store it. For the "my Dog $spot" case, that's not an issue, compile time resolution. But for the generic object. The package itself can contain an indirection table. This would be that sparse table with the offset in the object vtbl. We might be able to also use this table to hold debugging information. <chaim> -- Chaim Frenkel Nonlinear Knowledge, Inc. [EMAIL PROTECTED] +1-718-236-0183
- Re: sorted sparse containers (was Re: PDL-P: Re: Hooks f... Bryan C . Warnock
- Re: sorted sparse containers (was Re: PDL-P: Re: Hooks f... Dan Sugalski
- Re: Ramblings on "base class" for SV etc. Dan Sugalski
- vector and matrix calculations in core? (was: Re: Rambli... Bart Lateur
- Re: vector and matrix calculations in core? (was: Re: Ra... Dan Sugalski
- Re: vector and matrix calculations in core? (was: Re: Ra... Bart Lateur
- Re: vector and matrix calculations in core? (was: Re: Ra... Nick Ing-Simmons
- Re: Ramblings on "base class" for SV etc. Bryan C . Warnock
- Re: Ramblings on "base class" for SV etc. Dan Sugalski
- Method call optimization. Nick Ing-Simmons
- Re: Method call optimization. Chaim Frenkel
- Re: Method call optimization. Dan Sugalski
- Re: Method call optimization. Joshua N Pritikin
- Re: Method call optimization. Dan Sugalski
- Re: Method call optimization. Graham Barr
- Re: Method call optimization. Chaim Frenkel
- Re: Method call optimization. Graham Barr
- Re: Method call optimization. Chaim Frenkel
- Re: Method call optimization. Damien Neil
- Re: Method call optimization. Dan Sugalski
- Re: Method call optimization. Nick Ing-Simmons