I profiled my parser and found Rc::clone to be the bottleneck