Skip to content

Expand the preallocated Int range to [-16,255]

Andreas Klebinger requested to merge AndreasK/ghc:preallocInts into master

Expand the preallocated Int range to [-16,255]

Effects as I measured them:

RTS Size: +0.1%
Compile times: -0.5%
Runtine nofib: -1.1%

Nofib runtime result seems to mostly come from the `CS` benchmark
which is very sensible to alignment changes so this is likely over
represented.

However the compile time changes are realistic.

This is related to #16961.

I picket 255 as it's the same as for charlike, even though the benefit over 128 does not seem big.

Merge request reports