Please sign in to comment.
Fix it-never-happened performance regression.
Diligent reviewer observed that a hot spot was possibly being made hotter. Reviewer's suggested remedy was a spectacular bust, but studious observation revealed the news lash that expensive methods are expensive and we should avoid calling them if we can. Put short-circuit test back in front of unapply call. Now the time spent in unapply is within a few percent.
- Loading branch information...
Showing with 4 additions and 3 deletions.