use Vec::with_capacity(raw.len()) for Cookies