Re: [Python-Dev] re performance

2017年1月28日 06:47:07 -0800

On 27 January 2017 at 22:24, MRAB <[email protected]> wrote:
> On 2017年01月27日 17:03, Łukasz Langa wrote:
>>
>>
>>> On Jan 26, 2017, at 5:16 PM, MRAB <[email protected]
>>> <mailto:[email protected]>> wrote:
>>
>>
>>>> So, it seems as if regex already uses a better algorithm although I
>>>> couldn't find any reference to any regex theoretical framework like dfa,
>>>> nfa, thompson multiple-state simulation or something.
>>>>
>>> It still uses backtracking, like in the re module.
>>
>>
>> What’s the status of regex inclusion in the stdlib?
>>
>>
> I'm not bothered about it. It's quite a bit bigger than the re module, and,
> anyway, keeping it as a third-party module gives me more freedom to make
> updates, which are available for a range of Python versions.
I still think it could be a good candidate for a first "bundled"
module, where we don't migrate it fully into the CPython development
process, but *do* officially bless it and provide it by default in the
form of a bundled wheel file (similar to what we do with pip).
Cheers,
Nick.
-- 
Nick Coghlan | [email protected] | Brisbane, Australia
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to