6 ms·
I was doing some looping recently with tcl and comparing against another implementation (called Jim [1], a very cool project in its own right) and wondered why
by bb01100100 1y ago
I was doing some looping recently with tcl and comparing against another implementation (called Jim [1], a very cool project in its own right) and wondered why datetime formatting was so slow when using `clock format`.
The code at [2] provided an alternative approach using C via critcl. It was interesting to see how malleable tcl can be.
[1] https://github.com/msteveb/jimtcl https://github.com/msteveb/jimtcl
[2] https://wiki.tcl-lang.org/page/speed+up+clock+format+and+clock+scan https://wiki.tcl-lang.org/page/speed+up+clock+format+and+clo...