Closed stephencelis closed 1 year ago
@BobbyRohweder I'm not sure how you're measuring it, but DateComponents.date
is quite a bit slower:
Date.Parser (tm) 3583.000 ns ± 18.18 % 355076
Date.Parser (DateComponents.date) 10750.000 ns ± 11.59 % 120687
Incorporates a helper from @juri's parser to improve things in our demo a bit.
Benchmarked against Parse3339 here and it's nice to see how well the relatively naive combinators performed by comparison: