Thread in_array() - Funktion bauen
(25 answers)
Opened by Gast at 2005-10-13 15:58
ich habs eben auch ausprobiert, das ist aber sicher nicht im sinne des moduls.
sorry, da habe ich mich dann wohl vertan. mich wundert es aber ehrlich gesagt, auch wenn ich statt 45000 nur 5000 als vergleich nehme. ist grep evtl. auf skalaren kontext optimiert? edit: ich hab was entdeckt Code: (dl
)
1 my $f = 50; also wenn ich eine subref übergebe statt eines stirngs, ist Util schneller. wenn ich @x noch größer mache, wird es entsprechend noch schneller...\n\n <!--EDIT|pq|1129232849--> Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: ![]() ![]() |