Sunday, February 12, 2012

Most of the times developers are believe that sprintf is the most performance method for string copy. But I did some small test and result as fallow. Environment : windows 7 IDE : visual studio 2010 Programing language: Visual C++ Method: Get the current system time. Copied the 100 length strings to specific char buffer 100,000,000 times continually. Get the current system time and check the...