July 07, 2017 Re: Compilation times and idiomatic D code | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steven Schveighoffer | On Fri, Jul 07, 2017 at 09:32:24AM -0400, Steven Schveighoffer via Digitalmars-d wrote: > On 7/5/17 5:24 PM, H. S. Teoh via Digitalmars-d wrote: > > On Wed, Jul 05, 2017 at 09:18:45PM +0000, jmh530 via Digitalmars-d wrote: > > > On Wednesday, 5 July 2017 at 20:32:08 UTC, Stefan Koch wrote: [...] > > > > Rainer Schuetze is quite close to a solution. Which reduces the > > > > symbol-name bloat significantly. > > > > See https://github.com/dlang/dmd/pull/5855 [...] > I'm super-psyched this has moved from "proof of concept" to ready for review. Kudos to Rainer for his work on this! Has been a PITA for a while: > > https://issues.dlang.org/show_bug.cgi?id=15831 https://forum.dlang.org/post/n96k3g$ka5$1@digitalmars.com Yes, kudos to Rainer for making this a (near) reality! [...] > I have found that the linker gets REALLY slow when the symbols get large. So it's not necessarily the compiler that's slow for this. [...] True, I didn't profile the compiler carefully to discern whether it was the compiler that's slow, or the linker. But either way, having smaller symbols will benefit both. T -- Freedom: (n.) Man's self-given right to be enslaved by his own depravity. |
Copyright © 1999-2021 by the D Language Foundation