On 10 May 2013, at 12:23, Richard Frith-Macdonald <address@hidden> wrote:
I also removed the method caching ... it was, as I thought, only a one line
change to disable it. But since we are trying to mimic OSX behavior exactly, I
thought we probably ought to remove it anyway.
As I recall this particular optimisation was really pretty irrelevant for most
apps (it made a significant performance difference to some apps where the same
notification was fired really frequently, but wasn't a show-stopper).
One thing I recall finding out when the notification code was rewritten was
that different people use notifications in radically different ways.
Some generate vast numbers of notifications, to a few observers, some generate
few notification but to lots of observers, and some actually add and remove
observers much more often than they deal with notifications, or remove/add
observers after each notification.