MattX commented on Issue #2400:
Thanks for the review! Maybe I'm missing something, but I've gated the loop with
#[cfg(debug_assertions)]
, so as far as I know this assertion should be run exactly when thedebug_assert!
would run. I don't think there should be any significant performance difference.
fitzgen commented on Issue #2400:
D’oh I completely missed the cfg
MattX commented on Issue #2400:
@fitzgen Any opinion for or against merging this?
fitzgen commented on Issue #2400:
(Sorry for the delay!)
MattX commented on Issue #2400:
Awesome! Yeah I completely forgot about
assert!
for some reason.
Last updated: Nov 22 2024 at 16:03 UTC