Commit 0dceb16
committed
EventHandler.init no longer pre-creates Priority Queues
Removed the code to pre-prepare all of the Priority Queues and Stacks from `EventHandler`. This means that only Priority Queues and Stacks existing will be those which actually contain `Eventable` objects waiting to be processed.
Ultimately, this speeds up iteration by eliminating the empty Priority Queues/Stacks. If it is iterated, it contains an `Eventable` to process.1 parent f5dc426 commit 0dceb16
1 file changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | 180 | | |
185 | 181 | | |
186 | 182 | | |
0 commit comments