dmd 1.060 and 2.045 release

Leandro Lucarella llucax at gmail.com
Thu May 6 08:15:31 PDT 2010


Steven Schveighoffer, el  6 de mayo a las 07:17 me escribiste:
> 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...

Run a profiler.

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
No existiría el sonido del mar si faltara en la vida oreja y caracol.
	-- Ricardo Vaporeso. Cosquín, 1908.


More information about the Digitalmars-d-announce mailing list