dmd 1.060 and 2.045 release

BCS none at anon.com
Thu May 6 07:04:10 PDT 2010


Hello Walter,

> 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.
> 

How about switch algos for long identifiers: you could bucket the knows by 
length and compare histograms on things of similar length. Or maybe just 
turn it off for long names. 

-- 
... <IXOYE><





More information about the Digitalmars-d-announce mailing list