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 <[email protected]>
  • Loading branch information
arlm and n8allan committed Jul 12, 2019
1 parent d2cd021 commit 4a7a0a0
Showing 1 changed file with 74 additions and 77 deletions.
Loading

0 comments on commit 4a7a0a0

Please sign in to comment.