Re: RNG Test: Code to generate Diehard file in Euphoria
- Posted by Mark Brown <mabrown at SENET.COM.AU> Feb 18, 2000
- 709 views
-----Original Message----- From: Irv Mullins <irv at ELLIJAY.COM> To: EUPHORIA at LISTSERV.MUOHIO.EDU <EUPHORIA at LISTSERV.MUOHIO.EDU> Date: Friday, February 18, 2000 11:57 AM Subject: Re: RNG Test: Code to generate Diehard file in Euphoria Irv Mullins wrote... >True again, except that the de-referencing of members of a sequence >x[1], x[2],x[3].... etc, does affect performance: There's a 10 - 15% increase >in execution time when applied to this list of 20. Hi Irv. I haven't really been following this too closely (and most of it has been over my head anyway) but the above bit caught my eye. Do you mean that referencing the elements in a sequence causes this big a performance hit ? 10 - 15% is nasty (and this sort of thing has been required a lot in the Morfit for EU api I have been working on with Todd. ) If I understand you right, is the performance hit both ways? Does it hurt just as much to put stuff into an element in a sequence as to get stuff out of it ?? I haven't noticed such a hit but I'd like to keep such things in mind if they are there. Thanks. Mark Brown