
19 Jun
2007
19 Jun
'07
11:01 p.m.
Mathias Gaunard <mathias.gaunard@etu.u-bordeaux1.fr> writes: [snip]
90% of the time, the string that specifies the format in (s)printf is a literal. We could probably exploit that fact to have that parsing done at compile-time. The syntax would need to be a little different though. Could be like xpressive static regexes maybe.
The issue is that in addition to not supporting internationalization as well, this compile-time approach is likely to increase generated code size and greatly slow down compile time. -- Jeremy Maitin-Shepard