Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor some variables and Add Heap hierarchy #22

Merged
merged 5 commits into from
Mar 19, 2024
Merged

Conversation

julianayang777
Copy link
Contributor

  • Refactor Term to Expr
  • Refactor vt and bt to value and block respectively in heap modules
  • Implements a lazy heap Heap_hierarchy that receives another heap h.
    • The difference between this lazy heap and the heap h is that when doing branching, the lazy heap creates a new empty heap h so that it does not need to copy the whole memory.
    • I added a new mode sh that uses this lazy heap with the write list model (sopl).

@filipeom
Copy link
Member

Did a quick scan of the code and it looks good to me :)

@julianayang777 julianayang777 merged commit 048f6a6 into main Mar 19, 2024
2 checks passed
@julianayang777 julianayang777 deleted the heap_hierarchy branch March 19, 2024 10:05
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