http://d.puremagic.com/issues/show_bug.cgi?id=6643


yebblies <yebbl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |performance
                 CC|                            |yebbl...@gmail.com
           Platform|x86                         |All
            Version|D2                          |D1 & D2
         OS/Version|Windows                     |All


--- Comment #6 from yebblies <yebbl...@gmail.com> 2011-09-12 01:26:07 EST ---
This is (from what I can see) a problem with the optimizer, a similar kind of
bug to issue 2396.  It doesn't seem to have anything to do with the switch, but
looks like a slow algorithm trying to reorder assignments, and choking on a
2000+ line function.
Doing some regex magic and placing each case block in a (){}(); delegate call
gives normal compile times for me.  Maybe this will be a suitable workaround
for you.
Unfortunately there are far fewer people working on the dmd backend than the
frontend, so depending on the difficulty it may be a while before this is
fixed.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to