mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
cf47ee506326a8023fa3610b60bb0318900a50db
Invert the logic to return if all are equal so we can fall through on the first false call so only the minimum isEqual calls are made. Also perform the boolean check first instead of last since it cheaper than a Point comparison. This showed up in the profile when profiling moving the cursor.
Atom — The hackable, collaborative editor
Check out our guides and API documentation.
Installing
Download the latest Atom release.
Atom will automatically update when a new release is available.
Building
Follow the instructions in the build docs.
Description
Languages
JavaScript
88.3%
Less
8.7%
CoffeeScript
2.8%
Shell
0.1%
