
#13253: Exponential compilation time with RWST & ReaderT stack with `-02`
-------------------------------------+-------------------------------------
Reporter: phadej | Owner: bgamari, osa1
Type: bug | Status: new
Priority: normal | Milestone: 8.4.1
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by osa1):
I checked Core outputs of gameteb generated with and without this patch.
What happens with this patch is we don't inline some join points that
allocates `Int`s, so we end up allocating more `Int`s than before.
In gameteb project these files change with this patch:
- InitTable
- Output
- Utils
Changes in InitTable and Output do not cause any increase in allocations.
In Utils we generate join points like this:
{{{
eIndx_s686 [Dmd=