Collapse all assertions into one fail block #391

Closed
opened 2024-03-28 15:53:02 +08:00 by derppening · 1 comment
Collaborator

Currently, each ctx.make_assert call will generate a new fail block for that assertion. Investigate whether it is possible to collapse all these fail blocks into one for greatly reduced code size.

Currently, each `ctx.make_assert` call will generate a new fail block for that assertion. Investigate whether it is possible to collapse all these fail blocks into one for greatly reduced code size.
Poster
Collaborator

After looking into this, I think the better way forward is to reduce the number of assertion checks when the input is already sanitized, especially with regards to IRRT helper functions.

After looking into this, I think the better way forward is to reduce the number of assertion checks when the input is already sanitized, especially with regards to IRRT helper functions.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#391
There is no content yet.