Conversation
96ae607 to
54249f0
Compare
zliu41
left a comment
There was a problem hiding this comment.
Why do we still need deriveEnum given deriveEnumData?
Because there are existing datatypes like Bool, that have the old less-efficient encoding, and I didn't want to break compatibility with those. If u think we can get away with breaking the encoding of Bool and () , then deriveEnum can be removed. I am worried that the ledger-api relies on these old encodings |
|
We can't break the encoding of |
About the encoding, i think you are right, no context depends on it , so we can switch to deriveenumdata and get rid of deriveenum |
Add to deriveEnum a more efficient implementation of IsData classes.
Pre-submit checklist: