cappuccino/cappuccino — comment on commit bb0972ba499290434d5ce977fa250466777f8506
File:  line 0
By tolmasky:

Perhaps we should be using a CPCountedSet for our observers instead of an array. Is there any stated guarantee of *order* of delivered notifications? I see here that already we are delivering them in reverse order of addition, which leads me to believe there isn't. If so, then having them in a CPCountedSet would make keeping track of this simpler since checking whether something was removed or not would be O(1) instead of O(N).