|
From: Tim R. <ti...@su...> - 2004-04-09 02:21:56
|
In message <p0521061dbc9bab05c832@[192.168.1.100]>
Dan Ingalls <Da...@Sq...> wrote:
>
>
> Not to choose sides yet, but I figured this offset would go in the method cache, where it's hardly significant added to the cost of setting up the base reg anyway.
Hmm, caching it. Must admit I hadn't thought of caching that particular
value in the mcache.
> And I don't wee why "you lose subclassability".
If you cache the offset as a vm 'global' (which is what we did on
one of the Interval versions) then you can only manage the one value and
thus all your cm's must be the same shape. IIRC it cost a bit less than
1% on the benchmarks used back then to look up fixedFieldsOf each time.
But we different machines and different benchmarks now so who knows?
tim
--
Tim Rowledge, ti...@su..., http://sumeru.stanford.edu/tim
Emacs is a nice operating system, but I prefer UNIX. - Tom Christiansen
|