[Shootout-list] small change (that i can do) that would benefit 3 people

Bengt Kleberg bengt.kleberg@ericsson.com
Thu, 12 May 2005 13:16:12 +0200


Jon Harrop wrote:
...deleted
> I was thinking along similar lines recently though. Why not have at least some 
> tests which try to compute as much as possible in a given time (e.g. 3s)? You 
> may lose the ability to do a linear measurement but you still get a ranking 
> and you can have more language compete as the very slow ones just don't get a 
> lot done in 3s.

this is a good idea. but it fails the number one criteria: make very, 
very little change to the current system.


i have a program that can find the right ''n'' for any time ''t'' you 
want (within a margin of error, etc).

this program needs, as part of the search for a solution, to find a 
''n1'' that gives ''t1'' below ''t'' and another ''n2'' that gives 
''t2'' above ''t''.

using this program would therefore give me the values i need to get a 
usable graph. and it would give the ''n'' needed for t = 3 seconds that 
you need. but the use of it would have to be carefully inserted in the 
right place inside minibench. can this be done? i will have to look into it.


bengt