C
C Erler
In mathn.rb, please remove the method Prime.cache and its aliases,
since it is an exposed implementation detail. If we later switch to a
faster algorithm that doesn't use a cache, backward compatibility
issues will be avoided.
Those who want to see the cache would still be able to use hackish
methods to acheive it.
since it is an exposed implementation detail. If we later switch to a
faster algorithm that doesn't use a cache, backward compatibility
issues will be avoided.
Those who want to see the cache would still be able to use hackish
methods to acheive it.