Skip to content
  • tibbe's avatar
    codeGen: allocate small arrays of statically known size inline · 22f010e0
    tibbe authored
    This results in a 46% runtime decrease when allocating an array of 16
    unit elements on a 64-bit machine.
    
    In order to allow newArray# to have both an inline and an out-of-line
    implementation, cgOpApp is refactored slightly. The new implementation
    of cgOpApp should make it easier to add other primops with both inline
    and out-of-line implementations in the future.
    22f010e0