Commit Graph

6 Commits (fde83ae6f11cf548d68095da4d3f5d741bb8dd1f)

Author SHA1 Message Date
John Benediktsson 34160212d1 math.primes.erato: fix reference to "arr". 2014-12-04 11:52:56 -08:00
John Benediktsson d5b8f3d3b9 math.primes.erato: fix help-lint. 2014-12-04 11:48:12 -08:00
Jon Harper f60f13c675 math.primes.erato doc fixes. 2010-11-02 17:34:28 +01:00
Slava Pestov ee1520f683 math.primes.erato: fix typo in docs 2010-10-22 18:26:08 -07:00
Samuel Tardieu 41d804ddbd Pack primes numbers by slices of 30
In any given 30 successive integers greater than 5, there are at most
8 prime numbers. Use this to tightly pack the result of the Eratostene
sieve. This lets us store more prime numbers than before in less space.
2009-06-24 13:15:12 +02:00
Samuel Tardieu 594bd3aee8 Move math.primes from extra to basis 2009-01-07 21:12:48 +01:00