mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-03 17:35:28 +03:00
06e3e63c90
This trades an O(n) allocation + memcpy for a O(1) proc allocation (for the destructor). Most users only need &[u8] anyway (all of the users in the main repo), and so this offers large gains.