develooper Front page | perl.perl5.porters | Postings from December 1999

Extra Scalar member of GVs for methods

Thread Previous | Thread Next
From:
Nick Ing-Simmons
Date:
December 20, 1999 06:11
Subject:
Extra Scalar member of GVs for methods
Message ID:
199912201410.OAA15133@tiuk.ti.com

While debugging SV leakage in Tk I noticed that when GVs are dropped
into derived class package to represent the "inherited" methods
the GVs have their SV slot filled in with a NULL SV.

Is this either necessary or useful? 
When you have a system like Tk with lots of inherited methods
having $Tk::Text::destroy created when you call $text->destroy
means quite a few SVs get called into being never to be used.


-- 
Nick Ing-Simmons <nik@tiuk.ti.com>
Via, but not speaking for: Texas Instruments Ltd.


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