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

Make most of the API @inlinable #43

Merged
merged 2 commits into from
Mar 25, 2020
Merged

Make most of the API @inlinable #43

merged 2 commits into from
Mar 25, 2020

Conversation

knothed
Copy link
Contributor

@knothed knothed commented Mar 2, 2020

This implements #40 by marking sensible methods (i.e. any methods where inlining may yield a performance improvement), subscripts and property getters as @inlinable. This is, in fact, most of the HandySwift API.

Make relevant methods and property getters `@inlinable` to increase real-time performance.
This includes marking required private or internal properties as `@usableFromInline`.
Copy link
Member

@Jeehut Jeehut left a comment

Choose a reason for hiding this comment

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

Looks good, merging. Thank you very much! And sorry for taking so long. 😅

@Jeehut Jeehut merged commit 773b056 into FlineDev:stable Mar 25, 2020
@knothed
Copy link
Contributor Author

knothed commented Mar 25, 2020

Haha no Problem. Thank you!

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

2 participants