Closed DK96-OS closed 11 months ago
StaticPrimes method containsNumber has an unused branch after all inputs have been tested. This indicates that further simplification is possible.
Additionally, this is an internal method with one usage. The caller already checks the input number against the largest prime in the static array. This means that this containsNumber method can start at the middle of the array, and should not check the array endpoints.
Upgrade Dependencies
Reorganize Dependencies
Numbers Module no longer depends on any other Module, except for Tests.