Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

Thanks for noticing this.  I wasn't aware that it had slowed down after dotted 
name support had been added.

Since it is a mild performance issue, I'm lowering the priority.  Will take a 
further look when I get the chance.  A first look at the patch shows that it is 
bigger than I expected.  Isn't it possible to check for a dot on construction 
and just record the boolean so that a fast, non-splitting path can be used.

I'm reluctant to make the code volume grow much for this function.  It is 
already a bit voluminous for the minor convenience it offers.

----------
priority: normal -> low
stage:  -> patch review
type:  -> performance

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

Reply via email to