On 23.11.2015 17:43, Yann Ylavic wrote: > with attachment... There is a mistake somewhere in the optimized version:
./o 1 100000000 aaaa aa1a 0 Optimized (nb=100000000, len=0) time = 0.611311 : res = 0 The result should not be zero. Indeed, the string.h version is correct: ./o 0 100000000 aaaa aa1a 0 <string.h> (nb=100000000, len=0) time = 4.189366 : res = 48 Yours, -mi