A few numbers on allocation in dmd

NilsLankila NilsLankila at gmx.us
Wed Jul 1 08:17:14 UTC 2020


On Tuesday, 30 June 2020 at 01:18:48 UTC, Andrei Alexandrescu 
wrote:
> I got a few numbers on what types dmd allocates the most while 
> compiling a large project.
> [...]
> 14124126 dmd.expression.IntegerExp

IntegerExp instances are already optimized using `.literal()` and 
`.createBool()`, so unfortunately this one is not really 
actionable, although it would take advantage of a dedicated 
allocator / memory pool.




More information about the Digitalmars-d mailing list