Merge lp:~rainct/zeitgeist/monitor-queue into lp:~zeitgeist/zeitgeist/bluebird
Proposed by
Siegfried Gevatter
Status: | Merged |
---|---|
Approved by: | Michal Hruby |
Approved revision: | 378 |
Merged at revision: | 379 |
Proposed branch: | lp:~rainct/zeitgeist/monitor-queue |
Merge into: | lp:~zeitgeist/zeitgeist/bluebird |
Diff against target: |
164 lines (+82/-15) 1 file modified
src/notify.vala (+82/-15) |
To merge this branch: | bzr merge lp:~rainct/zeitgeist/monitor-queue |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michal Hruby (community) | Approve | ||
Review via email: mp+90720@code.launchpad.net |
To post a comment you must log in.
22 + [Compact]
23 + private class InsertionData : NotificationData
I can't help it, but this looks like serious misusage of the type system, I'd rather go with single compact class that has an enum indicating the type plus a method that dispatches a call (passing in the proxy object - although as inner class it should be able to access private members of the parent class iirc)
121 + queued_ notifications. append (
Appending SList is really slow, let's prepend and reverse when we're about to flush the queue.