• Michal Terepeta's avatar
    Improve performance of newSmallArray# · 7cf5ba3d
    Michal Terepeta authored
    - Hoists part of the condition outside of the initialization loop in
    - Annotates one of the unlikely branches as unlikely, also in
    - Adds a couple of annotations to `allocateMightFail` indicating which
      branches are likely to be taken.
    Together this gives about 5% improvement.
    Signed-off-by: Michal Terepeta's avatarMichal Terepeta <michal.terepeta@gmail.com>
PrimOps.cmm 73.4 KB