[improve-it] Parsing NG archive and sorting by post-count

bearophile bearophileHUGS at lycos.com
Tue Mar 15 16:55:22 PDT 2011


Andrej Mitrovic:

> Correction: DMD complains about having parentheses, in fact it's an error:
> ngparser.d(28): Error: undefined identifier module ngparser.sort
> 
> So I've had to remove them. And again that's that uninformative error
> message which I don't like.

Sorry, this time the uninformative text was mine :-) When I have suggested you to add the () after the sort, I meant to suggest you to use the std.algorithm sort instead of the deprecated built-in one, because the built-in one is slow and it has bad bugs, like this one I've found:
http://d.puremagic.com/issues/show_bug.cgi?id=2819

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list