elastic-array icon indicating copy to clipboard operation
elastic-array copied to clipboard

elastic vector backed by fixed size array

Results 5 elastic-array issues
Sort by recently updated
recently updated
newest added

Not sure why we have a fork there, but maybe we should close this one and move activity over there?

Used [here](https://github.com/debris/elastic-array/blob/master/src/lib.rs#L125).

AFAICT, it is not possible (or rather, easy) to have a `std::borrow::Cow` where the `Owned` is an `ElasticArray`. In order for this to be possible, we need a new type...

[This PR](https://github.com/debris/elastic-array/pull/5) renaming `to_vec` to `into_vec` accidentally introduced a silent performance regression between `0.8` and `0.9`. Since `ElasticArray` implements `Deref`, all the usages of `ElasticArray::to_vec` in the code have now...

Using uninitialized, you run into the same soundness issues already explored by crates arrayvec and smallvec. See bugs servo/rust-smallvec/issues/4 and servo/rust-smallvec/issues/5