I have a case where I need to remove certain entries from an
OrderedCollection that will be called very frequently. I therefore
want to avoid copying the collection (to safely remove while
enumerating) but it seems #reverseDo: can do what I want.
myCollection reverseDo: [ : each | each meetsSomeCriteria ifTrue: [
myCollection remove: each ] ]
Does anyone see any problem with doing this?