The problem is, the statement sort keys %hash has already created the two large lists. The input list and the output list. After that, the hash slice assignment is just reusing space acquired during the sort.
In reply to Re^2: In-place sort with order assignment
by BrowserUk
in thread In-place sort with order assignment
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |