yebblies <> changed:

           What    |Removed                     |Added
           Keywords|                            |performance
                 CC|                            |
           Platform|x86                         |All
            Version|D2                          |D1 & D2
         OS/Version|Windows                     |All

--- Comment #6 from yebblies <> 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

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to