The Great Computer Language Shootout is back

Mark Scandariato mscandar@REDACTED
Wed Jul 28 19:38:05 CEST 2004


erl -noshell -run wc start < foo.txt

Isaac Gouy wrote:

> --- Mark Scandariato <mscandar@REDACTED> wrote:
> 
>>Try this one. Seems about the same speed as the other version.
>>I tried it on a 4 MB test file (on a 2.4GHz P4, Redhat 9) and it took
>>about 1 second, exclusive of erlang's startup time. 
>>(The native wc took about .67s).
> 
> 
> What command line are you using?
> 
>    erlc +native wc.erl
>    erl -noinput -s wc start < input.txt
> 
>    {"init terminating in   
>   
> do_boot",{undef,[{wc,start,[]},{init,start_it,1},{init,start_em,1}]}}
> 
>    Crash dump was written to: erl_crash.dump
>    init terminating in do_boot ()
> 
> 
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail



More information about the erlang-questions mailing list