[Shootout-list] Weekly Update

Bengt Kleberg bengt.kleberg@ericsson.com
Mon, 27 Sep 2004 12:02:03 +0200


Isaac Gouy wrote:
...deleted
> 
> ~10 do lots of simple string handling
> ~8 do lots of stdio
> ~7 do lots of array access
> ~2 do lots of objects 
> 
> Given the wider range of languages that are now included in the
> shootout, it would be reasonable to look at what each of the tests are
> doing and change the balance of functionality.

you are correct. i am lazy. please accept my apologies.


> Are 10 string handling tests, 5 too many?
> Is one static array test, 2 too few?

i think it depends upon the kind of string hadling we are talking about. 
regexp on strings is different and should have its own test(s?)
searching in strings for characters and substrings is different.
selecting (subsetting) strings and adding/splicing strings is different 
and should have its own test.

that makes it 3 tests, but i have missed somethings. in light of this 10 
does seems eccessive. on the other hand, if i have missed 5 other 
things, than 10 is ok.

what can we do with a static array? put things in, take things out. 
perhaps one test is sufficient for such a limited concept :-)


bengt