Skip to content

Commit

Permalink
Improve performance of Info
Browse files Browse the repository at this point in the history
This patch moves IsInfoClassRep information out of a global
structure into the class, to improve performance.

Also add a special case at the Kernel level to optimise the most
common situation.

This reduces the speed gap between Info and an equivalent if
statement from 10x to ~1.5x
  • Loading branch information
ChrisJefferson committed Oct 9, 2017
1 parent fc67f11 commit 6e98b0b
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 651 deletions.
Loading

0 comments on commit 6e98b0b

Please sign in to comment.