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

Binary searched length cache and no superfluous cache clearing. #5

Closed
wants to merge 451 commits into from

Conversation

arlm
Copy link
Owner

@arlm arlm commented Jun 4, 2019

LengthTo showed up as the main hot-spot on profiles of large method emissions. The replaced implementation would always start at the beginning in the event of a miss (even though length determination might have been done through a higher offset, and the cache was being cleared even in the most common event of a simply appended instruction.

…direct (inferencing needs a lot of work there).
kevin-montrose and others added 21 commits November 19, 2015 10:46
…of(object).IsAssignableFrom(typeof(void)) == true
LengthTo showed up as the main hot-spot on profiles of large method emissions.  The replaced implementation would always start at the beginning in the event of a miss (even though length determination might have been done through a higher offset, and the cache was being cleared even in the most common event of a simply appended instruction.
@arlm arlm force-pushed the master branch 2 times, most recently from e57a954 to 51b5efb Compare July 5, 2019 14:59
arlm added a commit that referenced this pull request Jul 12, 2019
LengthTo showed up as the main hot-spot on profiles of large method emissions.  The replaced implementation would always start at the beginning in the event of a miss (even though length determination might have been done through a higher offset, and the cache was being cleared even in the most common event of a simply appended instruction.

Closes PR #5

Co-authored-by: n8allan
@arlm
Copy link
Owner Author

arlm commented Jul 12, 2019

This is handled by PR #9

@arlm arlm closed this Jul 12, 2019
arlm added a commit that referenced this pull request Jul 12, 2019
LengthTo showed up as the main hot-spot on profiles of large method emissions.  The replaced implementation would always start at the beginning in the event of a miss (even though length determination might have been done through a higher offset, and the cache was being cleared even in the most common event of a simply appended instruction.

Closes PR #5

Co-authored-by: n8allan <[email protected]>
arlm added a commit that referenced this pull request Jul 29, 2019
LengthTo showed up as the main hot-spot on profiles of large method emissions.  The replaced implementation would always start at the beginning in the event of a miss (even though length determination might have been done through a higher offset, and the cache was being cleared even in the most common event of a simply appended instruction.

Closes PR #5

Co-authored-by: n8allan <[email protected]>
arlm added a commit that referenced this pull request Aug 7, 2019
LengthTo showed up as the main hot-spot on profiles of large method emissions.  The replaced implementation would always start at the beginning in the event of a miss (even though length determination might have been done through a higher offset, and the cache was being cleared even in the most common event of a simply appended instruction.

Closes PR #5

Co-authored-by: n8allan <[email protected]>
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.

10 participants