> > Joining lines by backslash in Vim scripts are bits slow.
> > Currently, it call alloc/strcpy/strcat/free in each lines.
> If you are at it - would you mind spending some additional minutes on
> the join() command?
> Maybe it can be fixed equally fast.
> Its very slow as well - that slow that we use workarounds in VAM:
> 
https://github.com/MarcWeber/vim-addon-manager-known-repositories/blob/master/autoload/vamkr.vim
> line 13 is much faster than line 14.
> line 5 shows one way to benchmark it.

Please read my e-mail post.

> let foo = "foooo"
> \.        "foooo"
> \.        "foooo"

I didn't mention about join().

Thanks.

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui