Skip to content

Make most of the API @inlinable#43

Merged
Jeehut merged 2 commits intoFlineDev:stablefrom
knothed:work/inlinability
Mar 25, 2020
Merged

Make most of the API @inlinable#43
Jeehut merged 2 commits intoFlineDev:stablefrom
knothed:work/inlinability

Conversation

@knothed
Copy link
Copy Markdown
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.

knothed added 2 commits March 2, 2020 14:03
Make relevant methods and property getters `@inlinable` to increase real-time performance.
This includes marking required private or internal properties as `@usableFromInline`.
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants