>>>>> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: DS> The language semantics of tie strongly impact the internals. tie() is DS> basically a declaration that the rules are completely different (and DS> unknown at compile time) for the tied variable. Shoots down optimization a DS> bunch, since access to a tied varible has to be treated as a function call DS> rather than as access to data with known behaviours. Why? The vtbl for a tied variable would do all the work. Either the pointer is to a springboard into perl code, or internal code, or the XS replacement code. We might be able to add a hint hook to the module (or the vtbl) that would help optimization and the compiler. <chaim> -- Chaim Frenkel Nonlinear Knowledge, Inc. [EMAIL PROTECTED] +1-718-236-0183
- RFC 15 (v1) Stronger typing through tie. Perl6 RFC Librarian
- Re: RFC 15 (v1) Stronger typing through tie. John Porter
- Re: RFC 15 (v1) Stronger typing through tie. Nick Ing-Simmons
- Re: RFC 15 (v1) Stronger typing through t... John Porter
- Imrpoving tie() (Re: RFC 15 (v1) Stronger typing... Nathan Wiger
- Re: Imrpoving tie() (Re: RFC 15 (v1) Stronge... Dan Sugalski
- Re: Imrpoving tie() (Re: RFC 15 (v1) Str... Chaim Frenkel
- Re: Imrpoving tie() (Re: RFC 15 (v1)... Dan Sugalski
- Re: Imrpoving tie() (Re: RFC 15... Ken Fox
- Re: Imrpoving tie() (Re: RF... Dan Sugalski
- Re: Imrpoving tie() (Re... Nathan Wiger
- Re: Imrpoving tie() (Re... Dan Sugalski
- Re: Imrpoving tie() (Re... Larry Wall
- Re: Imrpoving tie() (Re... Dan Sugalski
- Re: Imrpoving tie() (Re... Jeremy Howard
- Re: Imrpoving tie() (Re... Dan Sugalski