A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-March/098372.html below:

[Python-Dev] interesting article on regex performance

[Python-Dev] interesting article on regex performanceGeorg Brandl g.brandl at gmx.net
Sat Mar 13 00:23:11 CET 2010
Am 12.03.2010 20:29, schrieb skip at pobox.com:
> 
>     >> There are major practical problems associated with making such a leap
>     >> directly (Google's re2 engine is in C++ rather than C and we'd have
>     >> to keep the existing implementation around regardless to handle the
>     >> features that re2 doesn't support).
> 
>     Collin> I don't see why C++ would be a deal-breaker in this case, since
>     Collin> it would be restricted to an extension module.
> 
> Traditionally Python has run on some (minority) platforms where C++ was
> unavailable.  While the re module is a dynamically linked extension module
> and thus could be considered "optional", I doubt anybody thinks of it as
> optional nowadays.

Actually, _sre is a builtin module by default since at least Python 2.5.

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4