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

compiler: Remove duplicate compiled functions #86

Merged
merged 1 commit into from
Sep 27, 2020

Conversation

elliotchance
Copy link
Owner

@elliotchance elliotchance commented Sep 27, 2020

The compiler was keeping two separate copies of a compiled function, by
its unique name and name (for legacy reasons). Now it only need to keep
one copy by it's unique name. This greatly reduces the size of
vm/lib.go.


This change is Reviewable

The compiler was keeping two separate copies of a compiled function, by
its unique name and name (for legacy reasons). Now it only need to keep
one copy by it's unique name. This greatly reduces the size of
vm/lib.go.
@elliotchance elliotchance merged commit 39f58d0 into master Sep 27, 2020
@elliotchance elliotchance deleted the func-unique-name branch September 27, 2020 15:36
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.

None yet

1 participant