Flowdock
Ruby latest stable (v1_9_3_392) - 0 notes - Superclass: Object

Internal use. An implementation of eratosthenes’s sieve

Constants

BITS_PER_ENTRY = 16

NUMS_PER_ENTRY = BITS_PER_ENTRY * 2

ENTRIES_PER_TABLE = 8

NUMS_PER_TABLE = NUMS_PER_ENTRY * ENTRIES_PER_TABLE

FILLED_ENTRY = (1 << NUMS_PER_ENTRY) - 1

Attributes

Show files where this class is defined (1 file)
Register or log in to add new notes.