Short circuit instruction set containsAll based on set size

Merged Jason Zaugg requested to merge retronymm/asm:topic/merge-opt into master

I was investigating a performance regression in our usage of Analyzer (the problem was on our end.)

While looking at the "good" profile and the code, it occurred to me that we can save a few calls to containsAll by checking the instruction set sizes first.

Merge request reports