FastFactor

case
class FastFactor(p: Int, var m: SafeLong)

Reprsents a prime factor which we need to keep track of.

Similar to Factor, but in this case the prime is small enough that it fits in an Int. This means that each of our sieve segments will contain at least one multiple of 'p' if not more. So we can use a slightly more compact data structure.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product