mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Avoid allocating an array on every poll
@jashkenas Love CoffeeScript but I wish I could opt out of loops being list comprehensions.
This commit is contained in:
@@ -207,3 +207,4 @@ class ViewRegistry
|
||||
else
|
||||
@performDocumentPollAfterUpdate = false
|
||||
poller() for poller in @documentPollers
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user