Skip to content

Code Gen: Use strict map rather than lazy map in loop analysis

Matthew Pickering requested to merge wip/t19471 into master

We were ending up with a big 1GB thunk spike as the fmap operation did not force the key values promptly.

This fixes the high maximum memory consumption when compiling the mmark package. Compilation is still slow and allocates a lot more than previous releases.

Related to #19471 (closed)

Before:

2021-09-14-152716_1305x881

After:

2021-09-14-152753_1210x837

Merge request reports