Senthil Kumaran <orsent...@gmail.com> added the comment: On Mon, May 17, 2010 at 01:38:57PM +0000, Florent Xicluna wrote: > Committed in r81265 for 2.7.
Thanks. That was interesting. Without resorting to any drastic changes like use of regex, interesting speed-up seems to have been achieved by using rsplit and map. In py3k, I think its 'okay' to go for rsplit, defaultdict and map which will be similar to py2k version. I saw that map vs list comprehension did not have much differences. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1285086> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com