Struct method access speed
bearophile
bearophileHUGS at lycos.com
Wed Dec 26 15:57:10 PST 2007
M. Berger:
> For DMD, you actually fill the
> vector twice in the first loop (once with zeroes, then a second time
> with values) and it runs about twice as long as the second loop
> which is normal.
I don't agree. The method "create" is called only once, so it must add nearly nothing (about 1/20000) to the first timing. Please correct me if you think I am wrong.
Bye,
bearophile
More information about the Digitalmars-d
mailing list