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

Update DESIGN.md on recent closure/conversion changes #135

Merged
merged 1 commit into from
Apr 16, 2018

Conversation

alexcrichton
Copy link
Contributor

Hopefully covering a lot of the groundwork done for closures in case anyone's
curious down the road!

Hopefully covering a lot of the groundwork done for closures in case anyone's
curious down the road!
@alexcrichton
Copy link
Contributor Author

@fitzgen as requested in #124!

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Nice :)

This was very helpful for understanding how everything fits together!

}
```

A trait is used here to facilitate testing but typically the calls don't end up
Copy link
Member

Choose a reason for hiding this comment

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

"typically"? Is there ever such a case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If you don't enable optimizations it'll probably stick around as virtual, but with optimizations any trivial amount of inlining will make the dispatch go away.

@alexcrichton alexcrichton merged commit bd755c0 into master Apr 16, 2018
@alexcrichton alexcrichton deleted the doc-describ branch April 16, 2018 20:33
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.

2 participants