At 03:11 PM 8/11/00 +0100, Graham Barr wrote:
>On Thu, Aug 10, 2000 at 06:30:01PM -0400, Chaim Frenkel wrote:
> > Leave a stub behind at the old address that would trigger the repointing.
> > (I'm not clear what to do for refcounting the old address)
>
>That will only work if the sub being defined is the one that is cached.
>Consider....
>
> A isa B
> B isa C
>
>we have an object of type A and the cached sub `foo' was originally found
>in C. Then someone defines `foo' in B.
>
>However that is not to say that something along those lines could not work.
I think we're going to have to have a doubly-linked list going for @ISA, so
when a parent package changes the child packages get changed too. It'll
make updates to @ISA more expensive, but if you do that then you ought to
be prepared to take a hit.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk