Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up highlighting by about 2x #764

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
826aa73
Perf: memoize _zsh_highlight_main_highlighter_check_path
romkatv Aug 16, 2020
edf4330
Perf: speed up _zsh_highlight_main__type
romkatv Aug 16, 2020
f063829
Perf: speed up _zsh_highlight
romkatv Aug 16, 2020
5ac6f10
Perf: optimize parameter check
romkatv Aug 16, 2020
818e2f2
Perf: speed up _zsh_highlight_highlighter_main_paint
romkatv Aug 16, 2020
1b8f49a
Perf: backport recent changes to older zsh versions
romkatv Aug 20, 2020
19bc533
Perf: identify newly installed commands as commands
romkatv Aug 22, 2020
e0d5921
Perf: fix the copyright year in new-command.zsh
romkatv Aug 23, 2020
6a210f1
Perf: fix several corner cases in command higlighting
romkatv Aug 23, 2020
c6f62dd
Perf: add ambiguous-hashed-command.zsh
romkatv Sep 1, 2020
73dcdb1
Perf: use the same login in two places when detecting zsh <= 5.8
romkatv Sep 1, 2020
9a53d98
Perf: add comments explaining where the check for version 5.8 comes from
romkatv Sep 1, 2020
2f9808f
Perf: unbreak code when used with no_brace_expand, no_unset or ksh_ar…
romkatv Sep 1, 2020
8d78ed8
Perf: add a comment explaining [[ -n $1(#q-.*N) ]]
romkatv Sep 1, 2020
4300652
Merge remote-tracking branch 'upstream/master' into perf
romkatv Sep 1, 2020
8a17a5d
Perf: add a comment on cache invalidation
romkatv Sep 12, 2020
5150bef
Perf: use `-x $1` instead of `-n $1(#q-.*N)`
romkatv Sep 12, 2020
200648d
Perf: speed up highlighting of aliases
romkatv Sep 12, 2020
fe98bba
Perf: rename tests related to hashed commands
romkatv Sep 12, 2020
c793c09
Merge remote-tracking branch 'upstream/master' into perf
romkatv Oct 15, 2020
8825fb4
tests: Add a test that 'rehash' isn't run.
romkatv Aug 26, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading