MtxVec VCL
|
Enables/disable inline condition checking.
Enables/disables inline condition checking. When true, TVec methods perform additional (range) checking before operations are executed. The drawback is slight loss of speed. If ConditionCheck is set to false then no additional checking is performed. This speeds up the execution but disables some safeguards. For short vectors the loss of speed can be significant. The more parameters the method requires the more error checking is performed. Some methods (parameterless) don't use the ConditionCheck property at all. ConditionCheck property is initially True. This property is an additional safeguard against array overrun or underrun errors. It allows you to work with explicit range checking while writing and debugging the application and once your code is running you can turn it off. By functionality it is similar to assertions. (See Assert procedure). You can also use compiler directives to check, if assertions are on and then set ConditionCheck to True.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|