Re: NoBisect()

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

Jiri,

        The following revision results in a time of .95~1.05 seconds for the =
whole series.  Deleting the internal printf shaves .10 seconds off the =
reported time.  Is that fast enough?

t1 =3D time()
for a =3D 1 to 1000 do
  temp =3D =
    rand(100),rand(100))
  printf(1,"Result: %d\n",temp)
end for
printf(1,"Total time: %0.5f",time()-t1)

Michael J. Sabal
mjs at osa.att.ne.jp
http://home.att.ne.jp/gold/mjs/index.html

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

Search



Quick Links

User menu

Not signed in.

Misc Menu