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

Switch from using dynamic pointers #154

Merged
merged 6 commits into from
Jan 16, 2020
Merged

Conversation

austinabell
Copy link
Contributor

  • This trades binary size/comp time for runtime efficiency (small change but probably best to keep as standard)

Dynamic dispatched pointers should only be used when actually needed (keeping an array or vector of multiple implementations while being able to operate trait functions on all for example) or if there are many unique types used on a large function and we want to lower the binary size/compile time.

@austinabell austinabell changed the title Switch from using dynamic pointer usage Switch from using dynamic pointer Jan 13, 2020
@austinabell austinabell changed the title Switch from using dynamic pointer Switch from using dynamic pointers Jan 13, 2020
Copy link
Member

@ec2 ec2 left a comment

Choose a reason for hiding this comment

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

love it

@austinabell austinabell merged commit ae6861e into master Jan 16, 2020
@austinabell austinabell deleted the austin/actor/runtimerefac branch January 16, 2020 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants