Andreas Molzer c21132b495 Simplify resize with element or function
Avoids a call to Clone of the element by using the provided instance as
the one inserted last. A similar optimization is used in the standard
library. Also changes the iteration to an independent iterator as the
number of insert elements must be known in advance.
2020-01-18 18:27:03 +01:00
2020-01-18 00:16:25 -07:00
2020-01-18 13:36:46 +01:00
2020-01-06 19:29:40 -07:00
2020-01-13 20:06:35 -07:00
2020-01-18 00:16:25 -07:00
2020-01-06 19:29:40 -07:00
2020-01-13 20:16:05 -07:00
2020-01-06 19:29:40 -07:00

License:Zlib Minimum Rust Version travis.ci AppVeyor crates.io docs.rs

Unsafe-Zero-Percent

tinyvec

A 100% safe crate of vec-like types.

For details, please see the docs.rs documentation

S
Description
安全的 vec-like 类型库
Readme 853 KiB
Languages
Rust 99.5%
Python 0.3%
Shell 0.2%