-
Notifications
You must be signed in to change notification settings - Fork 295
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
Insert new line too slow in some large python file #354
Comments
Do you know some faster alternative to GetPythonPEPIndent?
…On Tue, Nov 6, 2018 at 6:18 AM icersong ***@***.***> wrote:
Suggested Resolution:
vim-polyglot/indent/python.vim (114) set timeout 30ms
let next = searchpairpos(
\ '\V'.p[0], '', '\V'.p[1], 'bnW', s:skip_special_chars, stopline, 30)
profile
FUNCTIONS SORTED ON TOTAL TIME
count total (s) self (s) function
4 1.834822 0.537933 <SNR>264_find_opening_paren()
1 0.922344 0.000299 GetPythonPEPIndent()
1 0.494092 0.002312 <SNR>264_indent_like_previous_line()
1 0.490175 0.000044 <SNR>264_find_start_of_multiline_statement()
1 0.427524 0.000032 <SNR>264_indent_like_opening_paren()
493 0.380871 <SNR>264_is_concealed()
1 0.140895 0.000027 <SNR>221_on_exit_vim()
1 0.140868 0.000175 gitgutter#diff#handler()
1 0.140016 0.000188 gitgutter#sign#update_signs()
2 0.099125 0.000279 ale#Lint()
2 0.096740 0.000513 ale#engine#RunLinters()
4 0.095702 0.000252 <SNR>283_RunLinter()
8 0.081243 0.000478 ale#python#FindExecutable()
8 0.080405 0.047873 ale#python#FindVirtualenv()
7 0.070680 0.001247 airline#check_mode()
1 0.068972 0.010614 airline#highlighter#highlight()
6 0.065554 0.000129 ale_linters#python#flake8#GetExecutable()
1 0.060615 0.060550 <SNR>227_add_dummy_sign()
164 0.059721 0.029622 airline#highlighter#exec()
1 0.058793 0.058719 <SNR>227_remove_signs()
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#354>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAR2DRQiZ2FbUWQDBLXTBHUbNBdx0RILks5usRuSgaJpZM4YPxaS>
.
|
Your patch has been merged from upstream so I believe this is fixed now: Vimjas/vim-python-pep8-indent#116 |
thank you, by the way :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suggested Resolution:
profile
The text was updated successfully, but these errors were encountered: