PrimOpId cache fixes (#20857)

  1. Use the cache more (primOpId instead of mkPrimOpId)
  2. Replace Array# with SmallArray#

Merge request reports

Loading