Skip to content

Commit

Permalink
Binary searched length cache and no superfluous cache clearing.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
arlm committed Jul 12, 2019
1 parent d2cd021 commit a6dadf2
Showing 1 changed file with 74 additions and 77 deletions.
Loading

0 comments on commit a6dadf2

Please sign in to comment.