yjit icon indicating copy to clipboard operation
yjit copied to clipboard

Optimize `Module#===`

Open maximecb opened this issue 4 years ago • 4 comments

This is also used very often in SFR, because of case...when patterns. It seems to be used most often with arrays and hashes, so I'm wondering if we could peek at the input and just guard on T_HASH and T_ARRAY 🤔

This will need extensive tests for corner cases, etc.

maximecb avatar Sep 28 '21 16:09 maximecb