mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
🐎 Upgrade telepath to improve fold performance
This addresses #734. It improves performance from ~10s to ~1.5s when running a foldAll on edit-session-spec. This still needs to get better.
This commit is contained in:
committed by
Nathan Sobo
parent
03712392c9
commit
7173467b1a
@@ -206,7 +206,7 @@ class DisplayBuffer
|
||||
#
|
||||
# Returns an {Array} of {Fold}s.
|
||||
foldsContainingBufferRow: (bufferRow) ->
|
||||
for marker in @findFoldMarkers(containsRow: bufferRow)
|
||||
for marker in @findFoldMarkers(intersectsRow: bufferRow)
|
||||
@foldForMarker(marker)
|
||||
|
||||
# Given a buffer row, this converts it into a screen row.
|
||||
|
||||
2
vendor/telepath
vendored
2
vendor/telepath
vendored
Submodule vendor/telepath updated: bfa3aaf7c9...200f4ca2c8
Reference in New Issue
Block a user