Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tiny API to make non-allocating tmpl renderers easy. Also update
`examples/tmpl.nim` to use this by default with some side comments for other ways to use. { Tagging @SirNickolas since seems relevant to #224 } String compares even in a `case` theoretically able to use perfect hashes will, of course, still be slow compared to char-compares like in `bu/tmpls.nim`, but folks outside the APL/kdb family of PLs sure love >1 char idents. ;-) The `fmtUncertain*` family should probably use this new `MacroCallX`, for example as numbers are a thing of which there can be many.
- Loading branch information