There'll be some overhead, but it might be less than a custom sort routine, I'm not sure.
See Tie::Array for documentation on how to go about this, I think you just need to inherit from Tie::StdArray and overload STORE.
In reply to Re: Fast way to check if a sort was doen
by jbert
in thread Fast way to check if a sort was doen
by Outaspace
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |