Skip to content

Conversation

@swiftix
Copy link
Contributor

@swiftix swiftix commented Jun 30, 2016

What's in this pull request?

Resolved bug number: (SR-)


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

Triggering Swift CI

The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:

Smoke Testing

Platform Comment
All supported platforms @swift-ci Please smoke test
All supported platforms @swift-ci Please smoke test and merge
OS X platform @swift-ci Please smoke test OS X platform
Linux platform @swift-ci Please smoke test Linux platform

Validation Testing

Platform Comment
All supported platforms @swift-ci Please test
All supported platforms @swift-ci Please test and merge
OS X platform @swift-ci Please test OS X platform
OS X platform @swift-ci Please benchmark
Linux platform @swift-ci Please test Linux platform

Lint Testing

Language Comment
Python @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

It is safe to inline in such cases, because both dynamic Self types refer to the same type.

… if it is the same Self as used by the caller

It is safe to inline in such cases, because both dynamic Self types refer to the same type.
@swiftix
Copy link
Contributor Author

swiftix commented Jun 30, 2016

@swift-ci Please test

@swiftix
Copy link
Contributor Author

swiftix commented Jun 30, 2016

@slavapestov Slava, would you mind taking a look? Does it cover what you meant when you proposed this small optimization?

@slavapestov
Copy link
Contributor

Looks great, thanks @swiftix!

@swiftix swiftix merged commit 3c9eba5 into swiftlang:master Jun 30, 2016
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