LDC 1.25.0

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Feb 23 18:19:09 UTC 2021


On Sun, Feb 21, 2021 at 06:26:38PM +0000, kinke via Digitalmars-d-announce wrote:
> Glad to announce LDC 1.25 - some highlights:
> 
> - Based on D 2.095.1.

Awesome!!  Thanks to everyone in the LDC team who made this release
possible.


[...]
> - New experimental template emission scheme for -linkonce-templates.
> This option can significantly accelerate compilation times for
> optimized builds (e.g., 56% faster on my box when compiling the
> optimized Phobos unittests).
[...]

Tested this on one of my projects yesterday. For -O3, it reduced compile
time by about ~26%.  For -O, it reduced compile time by about 24%.  Not
as much as I'd hoped, but still pretty big reductions.

For non-optimized builds, it reduced compile times by only 1-2% (pretty
insignificant).


T

-- 
The easy way is the wrong way, and the hard way is the stupid way. Pick one.


More information about the Digitalmars-d-announce mailing list