EPIJudge icon indicating copy to clipboard operation
EPIJudge copied to clipboard

Don't check most significant digit if we break out of the loop

Open borundev opened this issue 5 years ago • 1 comments

In int_as_array_increment if we break out of the for loop, we do do not want to check the most significant digit. It is a minor O(1) improvement.

borundev avatar Jul 26 '19 14:07 borundev

Hi @borundev ,

Very smart use of the Python specific language feature to make this improvement. Really appreciate for your contribution, and this will be released in the next version.

tsunghsienlee avatar Nov 11 '19 00:11 tsunghsienlee