5 ms·In my benchmark, the c++ version uses the c api (printf rather than cout), so it wouldn't make a difference.by moonchild 7y agoIn my benchmark, the c++ version uses the c api (printf rather than cout), so it wouldn't make a difference.