argra****@users*****
argra****@users*****
2015年 8月 5日 (水) 11:52:49 JST
Index: docs/modules/Class-Accessor-0.18/Accessor/Fast.pod diff -u docs/modules/Class-Accessor-0.18/Accessor/Fast.pod:1.3 docs/modules/Class-Accessor-0.18/Accessor/Fast.pod:1.4 --- docs/modules/Class-Accessor-0.18/Accessor/Fast.pod:1.3 Thu Jan 27 22:14:46 2011 +++ docs/modules/Class-Accessor-0.18/Accessor/Fast.pod Wed Aug 5 11:52:49 2015 @@ -3,11 +3,11 @@ =pod -=head1 名前 +=head1 NAME Class::Accessor::Fast - より速い、しかしより拡張性の無い、アクセサ -=head1 概要 +=head1 SYNOPSIS package Foo; use base qw(Class::Accessor::Fast); @@ -15,7 +15,9 @@ # set()かget()が無いことを除いてあとはClass::Accessorと同じ -=head1 説明 +=head1 DESCRIPTION + +=begin original This is a somewhat faster, but less expandable, version of Class::Accessor. Class::Accessor's generated accessors require two @@ -24,6 +26,8 @@ set()/get() and does the access itself, resulting in a somewhat faster accessor. +=end original + これはClass::Accessorよりも幾分高速な、しかし拡張性の乏しいバージョン である。Class::Accessorによって生成されたアクセサは二つのメソッドを 呼び出すことによって、自らの仕事を達成している(一つはそのアクセサ用、 @@ -31,29 +35,37 @@ 呼び出しを排除し、それ自身でアクセスすることによって、いくらか高速な アクセサとなっている。 +=begin original + The downside is that you can't easily alter the behavior of your accessors, nor can your subclasses. Of course, should you need this later, you can always swap out Class::Accessor::Fast for Class::Accessor. +=end original + 欠点は、簡単にはアクセサおよびサブクラスの振る舞いを変更できないことだ。 もちろん、後で変更は必要になるはずで、いつでもClass::Accessor::Fastを Class::Accessorに置き換えることができる。 =pod -=head1 効率 +=head1 EFFICIENCY + +=begin original L<Class::Accessor/EFFICIENCY> for an efficiency comparison. -効率性の比較はL<Class::Accessor/効率>を参照。 +=end original + +効率性の比較は L<Class::Accessor/EFFICIENCY> を参照。 -=head1 作者 +=head1 AUTHOR Michael G Schwern <schwe****@pobox*****> -=head1 参考 +=head1 SEE ALSO L<Class::Accessor>