On 10/3/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:

I still don't see the advantage of compiling regexps while scripts remain
interpreted.

Well, storing the compiled regex is surely a lot faster.  However, I
don't think that's the way to do it for VimScript, as it isn't really
parsed, it's just executed line-by-line.  What /would/ make sense is
to cache the compiled regexes so that regexes used in a loop won't
have to be compiled as often.  That's a fairly trivial fix, although
I'm not going to perform it.

 nikolai

Reply via email to