News for hackers. Stuff that matters.
Re:PyPy is faster than C, again: string formatting by malkia on Tuesday August 02, 2011 @08:09PM (#2839219)
Why don't you take an example from Mike Pall's LuaJIT relying on something more computationally expensive like scimark - he has lua version, and also few other benchmarks (from the alioth site).

If you really want fast sprintf( %s, "%d %d" ) - then you might aswell craft something specifically for converting text to decimal numbers.

sprintf( ) is convenience function, not performance.

Re:PyPy is faster than C, again: string formatting by sjs on Tuesday August 02, 2011 @10:21PM (#2839574)
I'm sure that's one of the larger goals of PyPy, to make idiomatic code that is convenient to write also perform well. They don't have to be mutually exclusive.