Re: Eu vs PowerBasic

new topic     » goto parent     » topic index » view thread      » older message » newer message
useless said...

Jeremy, any idea why the execution time on v3.1 and v4 exploded to 40+ seconds on the last 3 iterations?

Hm. No idea but I'm glad you found it. I modified your program slightly:

without type_check 
 
atom x = 1, y = 1.000001, t 
 
for repeatloop = 1 to 10 do      
    t = time() 
 
    for i = 1 to 100000000 do 
        x = x * y  
    end for 
 
    ? time() - t 
end for 

and submitted it as a bug because I get:

2.375 
2.375 
2.36 
2.359 
2.375 
2.375 
2.375 
13.734 
15 
14.985 

Something is obviously not right. http://sourceforge.net/tracker/?func=detail&aid=2804581&group_id=182827&atid=902782

Jeremy

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu