but if you are sorting lexicograficaly,
True. One further question though.
Why does using sort{ $a <=> $b } @numbers also cause the memory growth. The same appears to be true for Sort::Key::nsort(_inplace)?
In reply to Re^8: Howto Avoid Memory Problem in List::MoreUtils
by BrowserUk
in thread Howto Avoid Memory Problem in List::MoreUtils
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |