Author mrabarnett
Recipients Arfrever, mrabarnett, pitrou, r.david.murray, tchrist, terry.reedy
Date 2011-08-13.20:57:39
SpamBayes Score 0.042534
Marked as misclassified No
Message-id <>
There are occasions when you want to do string slicing, often of the form:

pos = my_str.index(x)
endpos = my_str.index(y)
substring = my_str[pos : endpos]

To me that suggests that if UTF-8 is used then it may be worth profiling to see whether caching the last 2 positions would be beneficial.
Date User Action Args
2011-08-13 20:57:40mrabarnettsetrecipients: + mrabarnett, terry.reedy, pitrou, Arfrever, r.david.murray, tchrist
2011-08-13 20:57:39mrabarnettsetmessageid: <>
2011-08-13 20:57:39mrabarnettlinkissue12729 messages
2011-08-13 20:57:39mrabarnettcreate