NSDate-ISO-8601 icon indicating copy to clipboard operation
NSDate-ISO-8601 copied to clipboard

Modified your code to not recreate NSDateFormatter each iteration

Open triwav opened this issue 9 years ago • 1 comments

Hey, I modified your code to not recreate the NSDateFormatter. In a 2000 iteration test on the dateFromISOStringFormatter method I went from 5.414452016353607 seconds to 3.420518040657043 seconds. Feel free to improve upon further.

triwav avatar Aug 24 '15 14:08 triwav

http://stackoverflow.com/a/10466498/48062

maximveksler avatar Apr 01 '16 14:04 maximveksler