Bug: 159603647

Clone this repo:
  1. 426246d Merge "Update TEST_MAPPING" by Treehugger Robot · 2 months ago master
  2. 2b8efd4 Merge "Update smallvec to 1.8.0" by Treehugger Robot · 3 months ago
  3. 88f8ef8 Update TEST_MAPPING by David LeGare · 3 months ago
  4. 8f21297 Update smallvec to 1.8.0 by David LeGare · 3 months ago
  5. 38a95dd Adding bluetooth apex am: c88ecc614c am: 8464974135 am: 736d22dec9 by Roopa Sattiraju · 5 months ago



Release notes

“Small vector” optimization for Rust: store up to a small number of items on the stack


use smallvec::{SmallVec, smallvec};
// This SmallVec can hold up to 4 items on the stack:
let mut v: SmallVec<[i32; 4]> = smallvec![1, 2, 3, 4];

// It will automatically move its contents to the heap if
// contains more than four items:

// SmallVec points to a slice, so you can use normal slice
// indexing and other methods to access its contents:
v[0] = v[1] + v[2];