regarding Class::Accessor::Faster

  • Thread starter Rainer Weikusat
  • Start date
R

Rainer Weikusat

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top