Thread permutation
(31 answers)
Opened by esskar at 2006-09-11 12:30
[quote=Thorium,13.09.2006, 15:09]Hier, ich hab auch noch einen Vorschlag; auch wenn ich im Benchmark damit Canchenlos bin ;):
Code (perl): (dl
)
1 2 3 4 5 6 sub fbhp { [...] my @status; my $count = $#elements; push @status, 0 for (0..$count); [...] [...][/quote] Etwas Zeit kannst Du sparen, indem Du aus Code: (dl
)
my @status = (0) x scalar(@elements) Code: (dl
)
1 C:\community>perl bench.pl bench.pl Code: (dl
)
1 #!/usr/bin/perl OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/) -- Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html Perl-Entwicklung: http://perl-services.de/ |