Jimmi Holst Christensen 1676729c66 fmt: Refactor parsing of placeholders into its own function
This saves on comptime format string parsing, as the compiler caches
comptime calls. The catch here, is that parsePlaceHolder cannot take the
placeholder string as a slice. It must take it as an array by value for
the caching to occure.

There is also some logic in here that ensures that the specifier_arg is
always them same slice when the items they contain are the same. This
makes the compiler stamp out less copies of formatType.
2022-01-12 11:53:07 -07:00
..
2022-01-12 11:52:11 -07:00
2021-11-15 04:47:57 +01:00
2021-12-31 14:19:36 -07:00
2021-12-02 12:35:17 -08:00
2021-10-27 16:07:48 -04:00