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?
The lambda here unfortunately seems to capture the
Vtype 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 perRtype parameter on your deserializer.json/src/de.rs
Line 259 in c5f30c3
@Rufflewind or @Coding-Doctors would you be interested in working on this?