mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-29 17:43:28 +03: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:
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
@ -1 +1 @@
|
||||
Subproject commit bfa3aaf7c9261b94da26fb614513a896488c371c
|
||||
Subproject commit 200f4ca2c829cb8fe59aed8a031aed870871431b
|
Loading…
Reference in New Issue
Block a user