https://github.com/JuliaLang/julia
Revision 0d4de5a4b3ca84cf38732f4083fa75d68444971a authored by justbur on 21 February 2016, 18:37:17 UTC, committed by justbur on 22 February 2016, 20:16:13 UTC
Replace julia-paren-indent with a version that uses the higher level
function backward-up-list to find any previous opening parentheses. This
function automatically skips balanced expressions like strings, as well
as comments.

On some test files the time to indent falls by more than 75% with this
change, even after increasing the threshold for paren lookback to 10k.
Note the threshold is removed in this version.
1 parent c284efe
History
Tip revision: 0d4de5a4b3ca84cf38732f4083fa75d68444971a authored by justbur on 21 February 2016, 18:37:17 UTC
julia-mode: Improve paren indent perf
Tip revision: 0d4de5a
File Mode Size
base
contrib
deps
doc
etc
examples
src
test
ui
.gitignore -rw-r--r-- 207 bytes
.mailmap -rw-r--r-- 9.5 KB
.travis.yml -rw-r--r-- 4.5 KB
CONTRIBUTING.md -rw-r--r-- 16.7 KB
DEBUGGER.md -rw-r--r-- 1.2 KB
DISTRIBUTING.md -rw-r--r-- 8.8 KB
LICENSE.md -rw-r--r-- 4.9 KB
Make.inc -rw-r--r-- 29.3 KB
Make.powerpc -rw-r--r-- 1.2 KB
Makefile -rw-r--r-- 26.6 KB
NEWS.md -rw-r--r-- 80.3 KB
README.arm.md -rw-r--r-- 4.0 KB
README.md -rw-r--r-- 26.9 KB
README.windows.md -rw-r--r-- 17.0 KB
VERSION -rw-r--r-- 10 bytes
Windows.inc -rw-r--r-- 1.5 KB
appveyor.yml -rw-r--r-- 2.1 KB

README.md

back to top