You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most zsh themes were always way too slow with MSYS2. This is
optimization for you.
Benchmarks were performed under i7-6770 + fairly good SSD
1. Remove redundant `parse_git_dirty` function call (~20ms)
Function call of zsh takes too much time in msys2. Don't know why.
2. Do not perform redundant action whenever possible (~10ms)
Pushed everything possible inside `if` statement.
3. Disable `vcs_info get-revision` (~20ms)
It doesn't even use this flag.
4. Disable `vcs_info` when $MSYS2 in on (~300ms)
Diretory lookup takes too much time with NTFS.
5. Don't double check for git repo (~20ms)
`git rev-parse --git-dir` is superset of `git rev-parse --is-inside-work-tree`
Closessimnalamburt#2
TODOs
$DEFAULT_USER
The text was updated successfully, but these errors were encountered: