CakeML / CakeML/cakeml

Add a switch to dataLang for whether primitives consume space

Open
#183 0 comments 0 reactions 1 assignee Claimed by @myreen View on GitHub
low effort low reward
Dominant language
Standard ML
Stars
1.2k
Forks
104
Avg merge
2d 21h
Merged PRs (30d)
16

Description

`dataLang` contains a dead code elimination pass, but it only works for pure code, and primitives which consume space are not considered pure. There should be a switch in `dataLang`, initially off, indicating whether the space consumption of primitives is modelled, so there can initially be a more aggressive dead code elimination phase.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.