31.10.2011, 15:00
Quote:
I don't like assumptions! Here are the benchmarks:
I used Lorenc's function (strreplacechar_1), and compared it to my own one (strreplacechar_2). <results> Of course these results are different for different strings, but I can't be bothered testing a bunch of strings. Code used: http://pastebay.com/142996 |
http://pastebin.com/j5XfZ0E0