Georg Brandl <ge...@python.org> added the comment:

FWIW, I'd love seeing the updated regex module in 3.2.  Please do bring it up 
on python-dev.

Looking at the latest module on PyPI, I noted that the regex.py file is very 
long (~3500 lines), even though it is quite compressed (e.g. no blank lines 
between methods).  It would be good to split it up.  This would also remove the 
need for underscore-prefixing most of the identifiers, since they would simply 
live in another (private) module.
Things like the _create_header_file function should be put into utility 
scripts.  The C file is also very long, but I think we all know why :)

It would also be nice to see some performance comparisons -- where is the new 
engine faster, where does it return matches while re just loops forever, and 
where is the new engine slower?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2636>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to