3 ms·
While I agree that comment would be very helpful given the code, It would be much better to rewrite the code so it didn't have to know about those three nodes a
by olavk 8y ago
While I agree that comment would be very helpful given the code, It would be much better to rewrite the code so it didn't have to know about those three nodes at all. For example by collecting them into a single element which could be removed in a single operation. The comment here is just a bandaid for code which is much more complex than it needed to be.