[Shootout-list] Many tests cheat

Bengt Kleberg bengt.kleberg@ericsson.com
Tue, 02 Nov 2004 10:04:30 +0100


skaller wrote:
...deleted
> and without list access it's tricky to get help :)
> 
this response is going out both to the list and to your private email.


...deleted
> My argument isn't that we shouldn't test array access speed,
> but that it must be done by requiring a calculation that
> is best done using contiguous random access storage.

this is a good thing.
however, i have found that it is sometimes very difficult to get the 
design of this kind of test ''correct''. languages that i am not 
familiar with will turn out to have a very fast way of doing almost what 
i want to test. (if they are doing the same thing it is by definition 
ok). so in the end i might have to resort to specifiying ''how'', and 
usually end up with a much simpler test design.


bengt