• littledan's avatar
    Various species micro-optimizations · f98caf44
    littledan authored
    - Inline reads to the species protector
    - Put V8_LIKELY/V8_UNLIKELY to guide Array.prototype.{slice,splice,concat}
      to the fast paths
    - Put the Array species good path checks directly in
      Array.prototype.concat to avoid a couple reads of the array constructor
      from the native context
    
    These changes together bring a ~4-6% win on
    kraken-orig/stanford-crypto-pbkdf2-orig which more than makes up from
    the performance degradation from a recent other species-related change.
    
    BUG=chromium:609739
    R=cbruni@chromium.org
    LOG=Y
    
    Review-Url: https://codereview.chromium.org/1958713003
    Cr-Commit-Position: refs/heads/master@{#36121}
    f98caf44
isolate.h 53.9 KB