Skip to content

Conversation

@martijnbastiaan
Copy link
Member

Fixes #3038

Still TODO:

  • Write a changelog entry (see changelog/README.md)
  • Check copyright notices are up to date in edited files

In the multi-map implementation, each part of the tuple will reference
the original input if left unevaluated. In case of `Signal`s, this can
cause the complete simulation to build up in memory.

Fixes #3038
@martijnbastiaan martijnbastiaan force-pushed the martijn/prevent-space-leak-zip branch from 4853b1e to 617441a Compare October 16, 2025 10:41
@martijnbastiaan martijnbastiaan merged commit 8b927f6 into master Oct 16, 2025
14 checks passed
@martijnbastiaan martijnbastiaan deleted the martijn/prevent-space-leak-zip branch October 16, 2025 13:07
martijnbastiaan added a commit that referenced this pull request Oct 16, 2025
Prevent space leaks in `zip` family, `mapAccum{L,R}` (copy #3039)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unzip family too lazy, causing space leaks

4 participants