Skip to content
Snippets Groups Projects
  • meooow's avatar
    25675493
    Optimize newGenArray a little · 25675493
    meooow authored and Lei Zhu's avatar Lei Zhu committed
    * Use unsafeNewArray_ instead of newAray_. We know we will fill the
      array, and newArray_ wastefully initializes it beforehand.
    * Avoid safeIndexing the range when writing the elements. range
      generates the elements in the required order, so we can simply use an
      Int counter.
    25675493
    History
    Optimize newGenArray a little
    meooow authored and Lei Zhu's avatar Lei Zhu committed
    * Use unsafeNewArray_ instead of newAray_. We know we will fill the
      array, and newArray_ wastefully initializes it beforehand.
    * Avoid safeIndexing the range when writing the elements. range
      generates the elements in the required order, so we can simply use an
      Int counter.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.