dynarray: when removing an item by replacing it with the last one, check that item too
This prevents a situtation when the deleted item may repeat in the array. This solution is based on the assumption that the duplicate entries are rather rare.
Please register or sign in to comment