Skip to content

Swap ArrayVec for TinyVec

Sergey "Shnatsel" Davidoff requested to merge Shnatsel/rusttype:tinyvec into master

Replaces uses of arrayvec crate that uses unsafe code internally with tinyvec which is 100% safe Rust. This decreases the cost of a security audit and reduces potential attack surface.

A run of cargo bench shows performance improvements across the board, but I think criterion is just drunk. Any tips on cranking up the bench time would be appreciated, as I couldn't find where it's defined.

Merge request reports