[Haskell-cafe] Final issues to fix for the shootout entries (Was: no subject)

Tomasz Zielonka tomasz.zielonka at gmail.com
Tue Feb 6 05:37:48 EST 2007


On Tue, Feb 06, 2007 at 12:12:09PM +1100, Donald Bruce Stewart wrote:
> And note that strings aren't a bottleneck anymore!
> 
>     http://shootout.alioth.debian.org/gp4/benchmark.php?test=sumcol&lang=all

I think "Haskell GHC #2" doesn't play by the rules:

    "
    diff program output for this 6KB input file with this output file to
    check your program is correct before contributing.

    Each program should be implemented the same way as this Icon program.

    The sum-file benchmark measures line-oriented I/O and string conversion.

    Each program should:

        * read integers from stdin, one line at a time
        * print the sum of those integers

    Programs should use built-in line-oriented I/O functions rather than
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    custom-code. No line will exceed 128 characters, including newline.
    ^^^^^^^^^^^^
    Reading one line at a time, the programs should run in constant space.
    "

Best regards
Tomasz


More information about the Haskell-Cafe mailing list