Skip to content

Conversation

@BruceForstall
Copy link
Contributor

Specifically,

Rank.get
GetLength
GetUpperBound
GetLowerBound

These can cause significant code growth, however, they are important
to inline for the performance of multi-dimensional array loops that use them.

Specifically,

Rank.get
GetLength
GetUpperBound
GetLowerBound

These can cause significant code growth, however, they are important
to inline for the performance of many multi-dimensional array loops.
@ghost
Copy link

ghost commented Oct 22, 2021

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@BruceForstall
Copy link
Contributor Author

When measured with the test in dotnet/performance#2093, a 50% execution time improvement is seen with this change.

@ghost ghost locked as resolved and limited conversation to collaborators Nov 24, 2021
@BruceForstall BruceForstall deleted the AggressiveInlineMultiDimHelpers branch December 28, 2022 01:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant