Reading List
A Fast Timestamp Parser in Swift from Michael Tsai RSS feed.
A Fast Timestamp Parser in Swift
Juri Pakaste (Mastodon): It’s well known that DateFormatter, the main timestamp formatter and parser Apple ships in Foundation, is not particularly fast. It’s flexible and it’s correct, but it takes its time. The newer ISO8601DateFormatter has similar performance.[…]Swift’s C bridging is first-class; struct tm and timegm(3) are right there. After changing the code to use […]