1Class::Accessor::FasterU(s3e)r Contributed Perl DocumentaCtliaosns::Accessor::Faster(3)
2
3
4
6 Class::Accessor::Faster - Even faster, but less expandable, accessors
7
9 package Foo;
10 use base qw(Class::Accessor::Faster);
11
13 This is a faster but less expandable version of Class::Accessor::Fast.
14
15 Class::Accessor's generated accessors require two method calls to
16 accomplish their task (one for the accessor, another for get() or
17 set()).
18
19 Class::Accessor::Fast eliminates calling set()/get() and does the
20 access itself, resulting in a somewhat faster accessor.
21
22 Class::Accessor::Faster uses an array reference underneath to be
23 faster.
24
25 Read the documentation for Class::Accessor for more info.
26
28 Copyright 2017 Marty Pauley <marty+perl@martian.org>
29
30 This program is free software; you can redistribute it and/or modify it
31 under the same terms as Perl itself. That means either (a) the GNU
32 General Public License or (b) the Artistic License.
33
35 Class::Accessor
36
37
38
39perl v5.38.0 2023-07-20 Class::Accessor::Faster(3)