roxen.lists.pike.general
Subject | Author | Date |
---|---|---|
Arrays: multi-pop? | Jonas Walldén @ Pike importmö <6341[at]lyskom[dot]lysator[dot]liu[dot]se> | 09-09-2009 |
> array updates = update_values[..5000]; > update_values -= updates; Is this really what you want? Any element encountered in the first 5000 entries will also be removed from the remaining queue. Probably costly to perform that kind of subtraction if it's not intended. How about this? array updates = update_values[..5000]; update_values = update_values[5001..]; |