if I were joking I would say that all it takes is an advanced substitute to migrate the vimscript dictionaries to vim9. In my plugins, certainly not in vim-airline :)
Le jeudi 3 décembre 2020 à 14:00:26 UTC+1, cbl...@256bit.org a écrit :
On Do, 03 Dez 2020, Ni Va wrote:
> It's okay with this new notation and thank you for less chars as backslash.
>
> Do profiler show performance gain for vimscript migrated in vim9 ?
You can profile a vim9 script version and a legacy vimscript version.
That's what I did with the switch on vim-airlines side. The vim9 version
does no longer even show up in the profile output, so much does it safe.
Although it looks quite a bit different I really like it, although there
is quite a bit of work left. E.g. vim-airline uses the optional dict a
lot, not sure how this will work out in the future. That is the reason,
I have not merged this huge branch yet.
But all in all, I quite like the performance boost.
Best,
Christian
--
Grabinschrift: Hier ruhen meine Gebeine, ich wünscht', es wären Deine.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/4a659e4b-56be-423a-a974-5eabfe9e6abbn%40googlegroups.com.
No comments:
Post a Comment