This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients docs@python, rhettinger, tzot
Date 2010-10-21.02:03:56
SpamBayes Score 3.4138113e-05
Marked as misclassified No
Message-id <1287626653.86.0.185298691453.issue10160@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-10-21 02:04:14rhettingersetrecipients: + rhettinger, tzot, docs@python
2010-10-21 02:04:13rhettingersetmessageid: <1287626653.86.0.185298691453.issue10160@psf.upfronthosting.co.za>
2010-10-21 02:03:57rhettingerlinkissue10160 messages
2010-10-21 02:03:56rhettingercreate