On Oct 13, 2013 10:05 AM, "Linda W" <[email protected]> wrote:
>
> On 10/11/2013 7:26 AM, David Fishburn wrote:
>>
>>
>> NFA engine takes almost three times (300 vs 107 seconds) as long to
complete my plugin task.
>
> ----
> Python never makes the top-REGEX engine lists -- can someone remind me
why it was
> chosen?  Was it purely a case of popularity winning over engineering
design and benchmarks?

I do not get where you have seen a word about Python? AFAIK Bram did not
choose any of the existing engines and have written a new one.

> From multiple articles the ones with most features and, fastest speed
have been
> PCRE engines (perl compatible RegEx... THOUGH the default engine built
into perl isn't among
> the fastest).
> Comparison websites put the PCRE-w/internal JIT (Just-In-Time state
compiler).
> as the fastest by far:    http://sljit.sourceforge.net/regex_perf.html
>
> Here is a comparison w/boost, showing boost in front -- but only against
PCRE w/o JIT
> the PCRE w/JIT was 2-5x faster than the one without.  So.. if Boost was
only 3-5% faster
> than the no-JIT PCRE, its' in the dust w/the jit-version.
>
> As far as feature, dunno how up to date this is, but as of when it was
> written python didn't even have unicode properties (among other
> deficits)...
http://en.wikipedia.org/wiki/Comparison_of_regular_expression_engines
>
> Popularity, has never been a reliable bellwether for 'best'.
>
>
>
>
> --
> --
> 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
>
> --- You received this message because you are subscribed to the Google
Groups "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui