Thursday, December 3, 2020

Re: Vim9 dict key notation old fashion depreciated

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/20201203130016.GE22416%40256bit.org.

No comments:

Post a Comment