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
In translating Haskall pseudo code from An algorithm for RELAX NG validation into Rust, some spots where Haskall lazy evaluation lead to efficiencies are turned into eager evaluation in the Rust - we evaluate schema expressions we don't need to.
For example we don't need to calculate the derivative of p2 if we already know that p1's derivative became NotAllowed here:
In translating Haskall pseudo code from An algorithm for RELAX NG validation into Rust, some spots where Haskall lazy evaluation lead to efficiencies are turned into eager evaluation in the Rust - we evaluate schema expressions we don't need to.
For example we don't need to calculate the derivative of
p2
if we already know thatp1
's derivative becameNotAllowed
here:relaxng-rust/relaxng-validator/src/lib.rs
Lines 1016 to 1020 in 90b55c4
The text was updated successfully, but these errors were encountered: