diff options
author | Father Chrysostomos <sprout@cpan.org> | 2017-08-06 11:38:28 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2017-08-21 20:17:58 -0700 |
commit | afe59f35c2b4b2af5b2ebc50a90e2e559b1eaf87 (patch) | |
tree | bb0e04d2ccf3f7eb1f6ebd79a14838b15441d57c /regen/op_private | |
parent | 9f9332db9d7efbba5be5556810f700da32ad6dee (diff) | |
download | perl-afe59f35c2b4b2af5b2ebc50a90e2e559b1eaf87.tar.gz |
Add SORTf_UNSTABLE flag
This will allow a future commit to make mergesort unstable when
the user specifies ‘no sort stable’, since it has been decided
that mergesort should remain stable by default.
This bit is not yet used, but is quite harmless.
Diffstat (limited to 'regen/op_private')
-rw-r--r-- | regen/op_private | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/regen/op_private b/regen/op_private index 753a0bd323..94e0009425 100644 --- a/regen/op_private +++ b/regen/op_private @@ -672,6 +672,7 @@ addbits('sort', 4 => qw(OPpSORT_DESCEND DESC ), # Descending sort 5 => qw(OPpSORT_QSORT QSORT ), # Use quicksort (not mergesort) 6 => qw(OPpSORT_STABLE STABLE ), # Use a stable algorithm + 7 => qw(OPpSORT_UNSTABLE UNSTABLE),# Use an unstable algorithm ); |