You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In jump-table-like constructs, the natural way of writing the code can sometimes produce redundant jumps or labels. Therefore some basic cleanup steps have been proposed. This diff adds two transforms:
1. Remove unconditional jumps to a label immediately following.
2. Remove labels with no references at all.
Fixes#75
Simple cleanup pass to remove
JMP label \n label:\n
.Discussed in #performance on Gophers Slack
https://gophers.slack.com/archives/C0VP8EF3R/p1554774092011200
https://gophers.slack.com/archives/C0VP8EF3R/p1554785110023800
Example:
dgryski/go-chaskey@ba45439#diff-5c275d0467fb567c78cf8a144f8b301bL89
The text was updated successfully, but these errors were encountered: