Klondike Dragon
23f8fa1af0
Further optimize ambiguous parsing
...
Optimize the common and special case where mm and dd are the same length, just swap in place. Avoids having to reparse the entire string.
For this case, it's about 30% faster and reduces allocations by about 15%.
This format is especially common, hence the reason to optimize for this case.
Also fix the case for ambiguous date/time in the mm:dd:yyyy format.
2023-12-16 13:52:00 -07:00
Klondike Dragon
0d2fd5e275
Add broader benchmarks
...
Uses the main test set for a broader stress test.
2023-12-16 08:18:54 -07:00
Klondike Dragon
465140d619
Fix ineffective break statements
2023-12-08 18:31:28 -07:00
Arran Ubels
cefe5b3dbe
More typo changes
2023-02-15 15:56:43 +11:00
Arran Ubels
5335e6fe23
Error return value is not checked (errcheck)
2023-02-15 15:49:18 +11:00
Egon Elbre
ad79b62a5b
disable timeutils test to prevent depending on mgo
2019-05-10 10:21:17 +03:00
Freddy Rondon
bce34723db
bench: add benchmark for github.com/simplereach/timeutils
2018-03-18 16:07:06 -03:00
Aaron Raddon
13b1994d70
split into date, time partial parsing
2018-02-25 16:35:33 -08:00
Aaron Raddon
0d88e220f9
Improve golint happiness
2017-08-12 09:50:14 -07:00
Aaron Raddon
5051e9281e
remove un-needed comments
2017-01-04 22:34:15 -08:00
Aaron Raddon
aa89add5da
update readme
2017-01-04 22:33:14 -08:00
Aaron Raddon
148ceeb09c
doc
2014-12-05 17:10:12 -08:00
Aaron Raddon
ceeeb70dcb
Benchmark tests for DateParse
2014-12-05 15:20:57 -08:00