in reply to remove element from array
I don't know what the overhead of sort is, but this certainly should save on memory.$mit[$index] = -1; shift sort @mit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: remove element from array
by demerphq (Chancellor) on Sep 11, 2001 at 20:38 UTC |