On Thu, Nov 15, 2001 at 02:01:53PM -0500, Dan Sugalski wrote:
> *) Use the cache entry in the PMC header. It'll mean for ints and floats 
> you won't need to bother with a separate structure or dereference

I can't. :(

/* It's more efficient to use our own caching than the PMC's cache
   Why? Because we also need to store state on what type of thing is
   in the cache, and this can be one of three things. (four, if you
   include "nothing") Four things is two bits, which means two flag
   tests instead of one. Hence, we just use the old-style IOK/NOK/POK */

> *) Swap out vtables as the pmc internals change, rather than vectoring off 
> flags.

That's probably the right way to do it. But what about overlapping types
that are both integer and string OK?

-- 
Term, holidays, term, holidays, till we leave school, and then work, work,
work till we die.
                -- C.S. Lewis

Reply via email to