in reply to manipulating a matrix
Perhaps rather than attempting to modify the incoming data in place it'd make more sense to create a new, filtered version which doesn't contain the entries you've already processed. Copy the misses to your output copy, while recording the hits in another data structure. Then you can iterate over that filtered version of the information again (using the same sub); lather, rinse, repeat.
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|