// Avoid shebang. #![feature(test)] extern crate test; use test::{Bencher, black_box}; use stacked::{SVec, SString32}; #[bench] fn string1(b:&mut Bencher) { b.iter(|| { for _ in 1..100 { let mut s = String::with_capacity(32); let cap = s.capacity(); while s.len()