Created
July 15, 2023 08:57
-
-
Save ab5tract/bb094655f1829de2906759d83e54264f to your computer and use it in GitHub Desktop.
Artificial map element threshold in REPL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my @a = <no> xx 103; # Golfed value.. any list longer than 102 elements is affected | |
my $x; @a.map: { $x++ }; | |
$x #=> 102 | |
# note this: | |
my $x; @a.map: { $x++ }; $x #=> 103 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment