in reply to $x = `cat big_file` seg faults
With Perl 5.34.0:
$ time perl -wE 'my $x = `cat 2`' real 0m4.558s user 0m0.802s sys 0m3.192s $ time perl -wE 'my $x = `cat 1`' Segmentation fault (core dumped) real 1m28.649s user 0m0.430s sys 0m2.341s
With Perl 5.39.10:
$ time blead -wE 'my $x = `cat 2`' real 0m8.851s user 0m0.980s sys 0m3.795s $ time blead -wE 'my $x = `cat 1`' Segmentation fault (core dumped) real 0m5.694s user 0m0.397s sys 0m1.378s
So the newer perl still fails, but much faster :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: $x = `cat big_file` seg faults
by cavac (Prior) on Sep 10, 2024 at 10:16 UTC | |
by choroba (Cardinal) on Sep 10, 2024 at 11:41 UTC |