rust/src/libflate
Huon Wilson 06e3e63c90 flate: return CVec<u8> rather than copying into a new vector.
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.
2014-02-24 01:15:39 +11:00
..
lib.rs flate: return CVec<u8> rather than copying into a new vector. 2014-02-24 01:15:39 +11:00