dmd 1.060 and 2.045 release
Steven Schveighoffer
schveiguy at yahoo.com
Thu May 6 04:17:39 PDT 2010
On Wed, 05 May 2010 23:45:50 -0400, Walter Bright
<newshound1 at digitalmars.com> wrote:
> Walter Bright wrote:
>> Alex Makhotin wrote:
>>> It takes ~40 seconds 50% load on the dual core processor(CentOS 5.3
>>> kernel 2.6.32.4), to get the actual error messages about the undefined
>>> identifier.
>> Definitely there's a problem.
>
> The problem is the spell checker is O(n*n) on the number of characters
> in the undefined identifier.
That can't be it. The identifier shown by Alex is only 33 characters.
O(n^2) is not that slow, especially for smaller variables. There must be
other factors you're not considering...
-Steve
More information about the Digitalmars-d-announce
mailing list