3 ms·
Agreed - and I'd be interested to see what happens if you replace the sprintf interpreter with a function like itoa. While I'm not surprised that V8 beats exis
by justinsb 18y ago
Agreed - and I'd be interested to see what happens if you replace the sprintf interpreter with a function like itoa.
While I'm not surprised that V8 beats existing Ruby implementations, that's more a demonstration that those implementations aren't very fast. When your benchmark tells you you're beating C, it's probably a good idea to check that your C code isn't stupid, before posting results on your blog...