Closed DK96-OS closed 2 years ago
Assumptions that were previously valid need to be checked. It is now more likely that an error will appear, particularly in the case where a BytePrimeCache
is passed as an argument.
Existing PrimeNumberTools
test cases do not check large inputs that may expose errors related to cache size.
Numbers Format package updates should have been added to a different branch, and different PR. These aren't behavioral changes, but will simplify usage in Java (so does improve flexibility).
Maybe PrimeNumberTools can be renamed to Primes or PrimeTools or Prime.
There are many functions requiring use of prime numbers, so there are likely naturally forming groups that can use Prime as a prefix.
Prime redesign should have been done on another PR. Now, it is blocking the other updates from being part of the release.
This branch will be split into primes and non-primes updates, and this PR will be closed.
Improve Usability of Numbers Module:
Strict
classes open, enable overriding their methodsRedesign Prime Number Caches:
PrimeNumberTools
, use functional dependency injection to supply cacheResolves #58 Resolves #44