develooper Front page | perl.perl6.language | Postings from June 2001

Re: Per-object inheritance in core a red herring?

Thread Previous | Thread Next
From:
Nathan Torkington
Date:
June 29, 2001 06:54
Subject:
Re: Per-object inheritance in core a red herring?
Message ID:
15164.34919.867000.709351@gargle.gargle.HOWL
Dan Sugalski writes:
> Doing it properly in a module is significantly more of a pain than doing it 
> in the core. Faking it with a module means a fair amount of (reasonably 
> slow) perl code, doing it in the core requires a few extra lines of C code 
> in the method dispatch opcode function.

Wouldn't you do it by swapping out the dispatch entry in the vtable?

Nat


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About