------- Comment #2 from rdabrowa at poczta dot onet dot pl 2006-04-07 20:07 ------- Execution times (in seconds) for different lengths:
string from length builtin library ------------------------------ 0 0.48 0.07 5 0.57 0.11 10 0.65 0.14 20 0.82 0.17 50 1.33 0.28 100 2.16 0.58 200 3.84 0.93 500 8.88 2.05 1000 17.28 3.92 2000 34.07 7.55 5000 84.46 18.59 and further, with loop count reduced 100 times: string from length builtin library ------------------------------ 10000 1.68 0.37 20000 3.36 0.75 50000 8.40 1.86 100000 16.80 3.69 200000 33.62 7.37 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27077