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 Aug 7, 2019
1 parent 49d8390 commit 933638e
Showing 1 changed file with 74 additions and 77 deletions.
Loading

0 comments on commit 933638e

Please sign in to comment.