Repository navigation
"strict" parameter in Limiters #3968
|
In
To me it should be exactly the opposite: I assume that the event generation is much Thanks a lot, |
Replies: 2 comments 1 reply
|
I agree that the choice of terminology could have been better. The way to see it is, that in this case "strict" is just a name without an implied meaning of "being strict" but with the result that the |
The "strict" here means that it is guaranteed that the respective branch is only evaluated, if signaled by the condition. In this view "strict = true, if strict limits with noEvent(..)" looks fine. |
The "strict" here means that it is guaranteed that the respective branch is only evaluated, if signaled by the condition.
E.g. if uMax == 1, the then branch in "if u > uMax then ..." is only evaluated if u > 1 (which is guaranteed by "noEvent(..)").
Instead, without a noEvent, it could be that…