Message258243
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,"'") |
|
Date |
User |
Action |
Args |
2016-01-14 22:47:44 | poostenr | set | recipients:
+ poostenr, paul.moore, tim.golden, zach.ware, steve.dower |
2016-01-14 22:47:44 | poostenr | set | messageid: <1452811664.45.0.761474192648.issue26118@psf.upfronthosting.co.za> |
2016-01-14 22:47:44 | poostenr | link | issue26118 messages |
2016-01-14 22:47:44 | poostenr | create | |
|