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

Make Alonzo TxOut a sum type to save memory #2442

Merged
merged 1 commit into from
Sep 2, 2021

Conversation

JaredCorduan
Copy link
Contributor

@JaredCorduan JaredCorduan commented Sep 1, 2021

While investigating our options to save memory for the hashes, @redxaxder noticed that we can save memory in Alonzo by making the TxOut a GADT sum type. (I have regrets about this branch name now :) ).

Copy link
Collaborator

@lehins lehins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@JaredCorduan JaredCorduan changed the title Make Alonzo TxOut a GADT to save memory Make Alonzo TxOut a sum type to save memory Sep 1, 2021
@JaredCorduan JaredCorduan merged commit a50a21e into master Sep 2, 2021
@iohk-bors iohk-bors bot deleted the jc/make-alonzo-txout-gadt branch September 2, 2021 15:20
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