Re: [Python-Dev] interesting article on regex performance

2010-03-13 Thread Nick Coghlan
Collin Winter wrote: > On Fri, Mar 12, 2010 at 8:12 AM, Nick Coghlan wrote: >> 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 >> feat

Re: [Python-Dev] interesting article on regex performance

2010-03-12 Thread Jared Grubb
On 12 Mar 2010, at 15:22, s...@pobox.com wrote: > > Collin> re2 is not a full replacement for Python's current regex > Collin> semantics: it would only serve as an accelerator for a subset of > Collin> the current regex language. Given that, it makes perfect sense > Collin> that it would be op

Re: [Python-Dev] interesting article on regex performance

2010-03-12 Thread skip
Collin> re2 is not a full replacement for Python's current regex Collin> semantics: it would only serve as an accelerator for a subset of Collin> the current regex language. Given that, it makes perfect sense Collin> that it would be optional on such minority platforms (much like

Re: [Python-Dev] interesting article on regex performance

2010-03-12 Thread Georg Brandl
Am 12.03.2010 20:29, schrieb s...@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

Re: [Python-Dev] interesting article on regex performance

2010-03-12 Thread Collin Winter
On Fri, Mar 12, 2010 at 11:29 AM, wrote: > >    >> 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 re

Re: [Python-Dev] interesting article on regex performance

2010-03-12 Thread skip
>> 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

Re: [Python-Dev] interesting article on regex performance

2010-03-12 Thread Collin Winter
On Fri, Mar 12, 2010 at 8:12 AM, Nick Coghlan wrote: [snip] > To bring this on-topic for python-dev by considering how it could apply > to Python's default re engine, I think the key issue is that any updates > to the default engine would need to remain backwards compatible with all > of the trick

Re: [Python-Dev] interesting article on regex performance

2010-03-12 Thread Brent Longborough
I have some regex-intensive Python that might benefit from this, but I don't think I have enough skill to do a set of Python bindings. An ideal first cut would be to enable this: import re2 as re I live in hope... Brent L ___ Python-Dev mailing

Re: [Python-Dev] interesting article on regex performance

2010-03-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick Coghlan wrote: > Peter Portante wrote: >> http://code.google.com/p/re2/ >> >> On 3/11/10 8:52 PM, "Neal Becker" wrote: >> >>> http://swtch.com/~rsc/regexp/regexp1.html > > Both interesting links. I'll add another one to the list: > http://google

Re: [Python-Dev] interesting article on regex performance

2010-03-12 Thread Nick Coghlan
Peter Portante wrote: > http://code.google.com/p/re2/ > > On 3/11/10 8:52 PM, "Neal Becker" wrote: > >> http://swtch.com/~rsc/regexp/regexp1.html Both interesting links. I'll add another one to the list: http://google-opensource.blogspot.com/2010/03/re2-principled-approach-to-regular.html To b

Re: [Python-Dev] interesting article on regex performance

2010-03-11 Thread Peter Portante
http://code.google.com/p/re2/ On 3/11/10 8:52 PM, "Neal Becker" wrote: > http://swtch.com/~rsc/regexp/regexp1.html > > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http:/

[Python-Dev] interesting article on regex performance

2010-03-11 Thread Neal Becker
http://swtch.com/~rsc/regexp/regexp1.html ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com