136754Re: Why is Vimscript/VimL much slower than Python when traversing long lists?
- Mar 15, 2013VimL is known to be slow.
If you know that you need speed use python or external tools.
Why is it the way it is? I don't know.
Eventually wait for better replies.
I can recommend using a disnict .py file for writing python because then
you get all python support (syntax, completion, etc).
If you want to learn how a .py file can be found by path have a look at
You may also want to use a str quoting function like this:
return '"%s"' % s.replace("\\","\\\\").replace('"', '\\"').replace("\n", "\\n")
because python's to str comes only close (maybe I should retry the to
json implementation and find out when whether it fails)
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@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic Next post in topic >>