The lambda here unfortunately seems to capture the V type parameter so it is instantiated lots of times. This tiny function contributes more LLVM IR than all but 5 much larger functions in #313 (comment). It should be instantiated only once per R type parameter on your deserializer.
|
Err(err) => Err(err.fix_position(|code| self.error(code))), |
@Rufflewind or @Coding-Doctors would you be interested in working on this?