Java > Scala

Marco Leise Marco.Leise at gmx.de
Thu Dec 1 10:58:28 PST 2011


Am 01.12.2011, 18:03 Uhr, schrieb Andrei Alexandrescu  
<SeeWebsiteForEmail at erdani.org>:

> On 11/30/11 9:47 PM, David Eagen wrote:
>> Recently I needed to analyze some mail logs. I needed to find the hosts
>> that were sending mail and how many lines in the log existed for each
>> host. Thinking this would be perfect for natively compiled code in D I
>> first wrote a D app. I then wrote it in perl and was amazed at how much
>> faster perl was. I expanded out to Java and Scala. For all four I used
>> the same source files and the same output was created.
> [snip]
>
> This is a good benchmark for I/O and a practical regex. David, could you  
> please send (privately if you want) the file or some statistics about it  
> (bytes, lines, a representative sample)? Thanks!
>
> Andrei

Hey, I'm also interested. I *love* optimization problems, although it may  
be just the regex in this case and I'll keep my hands off regex engines.  
Perhaps rapidshare or similar services can host that?


More information about the Digitalmars-d mailing list