Additionally, appending for lines gives a significant gain over using -n, so that needs works as well.
EDIT: I agree that '-n' should be what is used here, I was moreso posting in the interest of figuring out why that's so slow. I just made a PR which seems to bring the time for '-n' to be more like that of 'for lines'
In reply to Re^3: Rakudo Perl 6 and MoarVM Performance Advances
by Mouq
in thread Rakudo Perl 6 and MoarVM Performance Advances
by raiph
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |