On Wed, Jan 09, 2013 at 10:07:21AM +0000, Nicholas Clark wrote:

> I think that the right way to go is to write sprintf, or as much of it as is
> possible, in NQP. Specifically, I suspect that all the parsing of the % codes
> should be done in high level language, only kicking down to something lower
> level for the actual formatting (and probably even then, only for the
> floating point formatting, and maybe optimised versions for the most common
> cases for decimals.)

s/decimals/integers/

Which probably is just %d, or %d and %x

I'm going to quote this again :-)

> http://morepypy.blogspot.com/2011/08/pypy-is-faster-than-c-again-string.html

Nicholas Clark

Reply via email to