Comment 9 for bug 833666

Revision history for this message
Louis Simard (louis-simard-deactivatedaccount) wrote :

Right, that was an oversight on my part.

When I iterate over a collection that can be modified but plan on removing elements, I usually start at the ending index (size - 1) and count down to 0, because copies are rather inefficient. That preserves indices in the array. Can that be done with the minidom package?