You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
If we think that the lambda shouldn't function the V type parameter and be instantiated multiple times in IR, maybe this isn't really a Serde bug and more of a rustc bug; while potentially worth fixing here, it might be better to file at rust-lang/rust instead?
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 perR
type parameter on your deserializer.json/src/de.rs
Line 259 in c5f30c3
@Rufflewind or @Coding-Doctors would you be interested in working on this?
The text was updated successfully, but these errors were encountered: