Manifest of check-in
[3bec82b72c]
- Fixes sebres/tclclockmod#18 (Fails to parse short month name for June);
The reason for that was the wrong length calculation by scanning through my string index tree, so the ambiguity check `j->(jan,ju->(jun,jul))` failed for 2nd element Ju(ne) with length 2.
Simple fix and test-cases covering that, but it looks like this has a good potential for speedup (todo: move length calculation from search to build)
by
sebres on
2019-07-15 12:18:52.
B 61ed10a39be7bf2f1ac36ee5b235b660e6f19b456c9c15f17356c5b680079614
C Fixes\ssebres/tclclockmod#18\s(Fails\sto\sparse\sshort\smonth\sname\sfor\sJune);\r\nThe\sreason\sfor\sthat\swas\sthe\swrong\slength\scalculation\sby\sscanning\sthrough\smy\sstring\sindex\stree,\sso\sthe\sambiguity\scheck\s`j->(jan,ju->(jun,jul))`\sfailed\sfor\s2nd\selement\sJu(ne)\swith\slength\s2.\r\nSimple\sfix\sand\stest-cases\scovering\sthat,\sbut\sit\slooks\slike\sthis\shas\sa\sgood\spotential\sfor\sspeedup\s(todo:\smove\slength\scalculation\sfrom\ssearch\sto\sbuild)\r\n
D 2019-07-15T12:18:52.789
F generic/tclClock.c 9fc8746c6e819f0add29d23f12cdcbfe580df9287a229a4502a6788debb1ea9b
F generic/tclDate.c 9a80bfa4a00b1840ad5fddd97f731693b0d7f241eb4f15b69cc182b9efc1a54d
F generic/tclDate.h 38f9abae516fa7397b5a31bea1eed4ba70aa4fc3d529eaaf8fd927f67ff98c06
F generic/tclGetDate.y 0d0ccaff34c2146380686894714517db0338f7527031ba498b1d0ed93419d911
F generic/tclStrIdxTree.c 3e745b7398eb79bc4853446321c8cc255b055c05e2ba93ff399d321c493dfb24
F tests/clock.test aed29b12ee9f3d2e8ca0d4c7e1885cb4373ba49cd2f9e10b7c8862133b9b1f4d
P 0f3c1da5c1bc3fd2a7ef060db88baa14f5de01b362f36cae758fc31617596a56
R e7080d4ff60392e6c56816356f6a72d4
U sebres
Z 0b519efc0e314714a69342753c5f1d49