🐎 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:
Corey Johnson & Nathan Sobo 2013-08-21 13:12:36 -06:00 committed by Nathan Sobo
parent 03712392c9
commit 7173467b1a
2 changed files with 2 additions and 2 deletions

View File

@ -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

@ -1 +1 @@
Subproject commit bfa3aaf7c9261b94da26fb614513a896488c371c
Subproject commit 200f4ca2c829cb8fe59aed8a031aed870871431b