Repository navigation
Optimize easycheck
This release comes with a significant performance improvement. Previously, easycheck functions ran various validations of their arguments, and used check_if() and some other easycheck functions to run checks. Many of the validations are removed, as Python runs them anyway. All check_if() checks were replaced with the corresponding if-based checks. That way, easycheck is much faster, sometimes almost up to 100 times.
This is not the end of the optimizations. In future releases, the _raise function, used by all easycheck functions, will be improved in terms of performance. Maybe all instances of easycheck functions run by other easycheck functions will be replaced with the corresponding if-checks, but this may lead to a far more complicated code.