perl 5 まとめウィキ

タグ検索でbenchmark5件見つかりました。

Scalar::Alias

&fukidashi(tomyhero){変数にAliasを張っちゃえる。本来値で取る書き方で、refを取れる的な感じのようです。} * scalarの引数の値を変更するケースのベンチマーク =|PERL| #!/usr/bin/perl use warnings; use strict; use Scalar::Alias; use Benchmark qw/cmpthese/; sub append { my $text = shift; $$text .= "HOGE\n";…

https://seesaawiki.jp/w/perl5/d/Scalar%3a%3aAlias... - 2009年06月06日更新

繰り返し構文

* 繰り返し構文 [[for]], [[foreach]] , [[while]] ,[[until]] , [[do]] + [[while]] , [[do]] + [[until]] * 繰り返し構文++ [[map]],[[grep]] * Benchmark 配列から値を取り出す with for/foreach This is perl, v5.8.8 built for i386-linux-thread-multi =|BOX| Rate for_…

https://seesaawiki.jp/w/perl5/d/%b7%ab%a4%ea%ca%d6... - 2008年12月09日更新

DateTime

* 複数回呼ぶ際のチップ &fukidashi(tomyhero){time_zoneに文字列を指定するのではなく、[[DateTime::TimeZone]]オブジェクトを作成し、使い回そう。なぜなら速くなります。} ** ベンチマーク =|PERL| #!/usr/bin/perl use strict; use warnings; use Benchmark qw(:all); use DateTime; use DateTime::TimeZone; my $timezone = Da…

https://seesaawiki.jp/w/perl5/d/DateTime... - 2008年12月09日更新

ベンチマーク

* ベンチマークって何? コンピュータシステムのハードウェアやソフトウェアの性能を測定するための指標のことを指す。 * Perlでベンチマークを取るには? - [[Benchmark]] * どういった時に使うの? プログラムの速度を改善したい時 * SEE ALSO - -[[Perl 最速伝説>>http://text.art-code.org/presen/yokohama.pm/2/]] …

https://seesaawiki.jp/w/perl5/d/%a5%d9%a5%f3%a5%c1... - 2008年11月04日更新

Benchmark

*概要 [[ベンチマーク]]を取るモジュール *SEE ALSO -http://search.cpan.org/~rgarcia/perl-5.10.0/lib/Benchmark.pm…

https://seesaawiki.jp/w/perl5/d/Benchmark... - 2008年11月02日更新

どなたでも編集できます