Skip to content

Don’t make closures larger than they have to be#328

Merged
nomeata merged 3 commits intomasterfrom
joachim/smaller-closures
Apr 23, 2019
Merged

Don’t make closures larger than they have to be#328
nomeata merged 3 commits intomasterfrom
joachim/smaller-closures

Conversation

@nomeata
Copy link
Contributor

@nomeata nomeata commented Apr 18, 2019

previously, the size of the closure would be the number of free
variables. Since the introduction of static things (static functions,
variables allocated on a static heap) these slots were filled with 0,
which is obviously stupid. This removes the stupidity (and surprisingly
simple at that).

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants