in reply to Re^3: In-place sort with order assignment
in thread In-place sort with order assignment
@k = sort @k gets optimized by the interpreter into an inplace operation.
When did that make it into the release? Cos everytime it comes up here, I try it out and it doesn't seem to work. (And my attempt to search for the release info fail.)
For now, Sort::Key::_sort_inplace() will do me fine.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: In-place sort with order assignment
by salva (Canon) on Sep 20, 2010 at 07:23 UTC | |
by BrowserUk (Patriarch) on Sep 20, 2010 at 07:47 UTC | |
by salva (Canon) on Sep 20, 2010 at 08:54 UTC | |
by BrowserUk (Patriarch) on Sep 20, 2010 at 12:10 UTC |