diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2019-07-21 12:26:25 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-07-30 01:33:50 -0400 |
commit | 9c8a211a8592dbc7349eb336ff37e3cdfe698efe (patch) | |
tree | 7ed4bce86043560f1e12d425e3f41b1559f64f91 /includes/rts | |
parent | 86f47b8e26726d8629e5d9df44c573aced0a4d65 (diff) | |
download | haskell-9c8a211a8592dbc7349eb336ff37e3cdfe698efe.tar.gz |
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.
Diffstat (limited to 'includes/rts')
-rw-r--r-- | includes/rts/Constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/rts/Constants.h b/includes/rts/Constants.h index 9364bccae2..15ff2a43d9 100644 --- a/includes/rts/Constants.h +++ b/includes/rts/Constants.h @@ -59,7 +59,7 @@ * NB. This corresponds with the number of actual INTLIKE/CHARLIKE * closures defined in rts/StgMiscClosures.cmm. */ -#define MAX_INTLIKE 16 +#define MAX_INTLIKE 255 #define MIN_INTLIKE (-16) #define MAX_CHARLIKE 255 |