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 poostenr
Recipients paul.moore, poostenr, steve.dower, tim.golden, zach.ware
Date 2016-01-14.22:47:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1452811664.45.0.761474192648.issue26118@psf.upfronthosting.co.za>
In-reply-to
Content
There appears to be a significant performance issue between the following two statements. Unable to explain performance impact.

s = "{0},".format(columnvalue)   # fast
s = "'{0}',".format(columnvalue) # ~30x slower

So far, no luck trying to find other statements to improve performance, such as:
s = "\'{0}\',".format(columnvalue)
s = "'" + "%s" %(columnvalue) + "'"+","
s = "{0}{1}{2},".format("'",columnvalue,"'")
History
Date User Action Args
2016-01-14 22:47:44poostenrsetrecipients: + poostenr, paul.moore, tim.golden, zach.ware, steve.dower
2016-01-14 22:47:44poostenrsetmessageid: <1452811664.45.0.761474192648.issue26118@psf.upfronthosting.co.za>
2016-01-14 22:47:44poostenrlinkissue26118 messages
2016-01-14 22:47:44poostenrcreate