Java > Scala
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Dec 1 09:03:43 PST 2011
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
More information about the Digitalmars-d
mailing list