sprintf1 avoids the combinatorial explosion issue since it only supports a single format specification.
On Wed, Sep 23, 2015 at 12:29 PM, Tom Breloff <[email protected]> wrote: > But we could also do code caching with @printf by just maintaining a dict >> mapping format strings to generated code > > > AFAIK, this is exactly what Formatting's sprintf1 does (except it calls > @sprintf instead of @printf, so that change would be easy). > > On Wed, Sep 23, 2015 at 12:22 PM, Stefan Karpinski <[email protected]> > wrote: > >> >> On Wed, Sep 23, 2015 at 12:21 PM, Stefan Karpinski <[email protected]> >> wrote: >> >>> This is very >> >> >> cool >> > >
