regarding Class::Accessor::Faster

Discussion in 'Perl Misc' started by Rainer Weikusat, Apr 2, 2013.

  1. As far as I could determine, this

    http://cpansearch.perl.org/src/KASEI/Class-Accessor-0.34/lib/Class/Accessor/Faster.pm

    is not only not concerned with data inheritance at all (eg, the first
    generated accessor for a package will always access array element #0,
    or, in other words, classes using this derived from classes also using
    this will stomp on the array slots of their parent classes) but - in
    addition - really badly or at least very 'unimaginatively' coded. Eg,
    created accessor methods are closures referencing a 'read-only' scalar
    variable when they could be compiled to access the slot whose number
    is stored in $n directly.
     
    Rainer Weikusat, Apr 2, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QmlsbCBCb3Jn?=

    Need "get" accessor to return property name

    =?Utf-8?B?QmlsbCBCb3Jn?=, Oct 26, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    409
    =?Utf-8?B?QmlsbCBCb3Jn?=
    Oct 26, 2004
  2. James Edward Gray II

    Defining a Class Accessor

    James Edward Gray II, Mar 30, 2005, in forum: Ruby
    Replies:
    12
    Views:
    194
    Florian Gross
    Mar 31, 2005
  3. Leonardo Francalanci

    accessor for Class Variable

    Leonardo Francalanci, Apr 21, 2005, in forum: Ruby
    Replies:
    14
    Views:
    188
    Robert Klemme
    Apr 22, 2005
  4. Jason Lillywhite

    accessor methods for class methods

    Jason Lillywhite, Sep 5, 2008, in forum: Ruby
    Replies:
    3
    Views:
    144
    Jason Lillywhite
    Sep 6, 2008
  5. Derek Basch

    Looping through Class::Accessor accessors

    Derek Basch, Jun 21, 2006, in forum: Perl Misc
    Replies:
    2
    Views:
    154
    Derek Basch
    Jun 21, 2006
Loading...

Share This Page