Changes for version 0.11 - 2012-05-26

  • Memory and speed performance improvements contributed by Dana Jacobsen: Represent only odds in the bit sieve (halving the size).
  • Improved type safety (explicitly specify UL and static casting of size_type to UL where it makes sense to do so).
  • Added proper (modern) C++ class member data initializers.
  • FastSieve.pm now perlcritic friendly at all severity levels.
  • Worked through a bunch of Perl::Critic issues in the test suite.

Modules

Generate a list of all primes less than or equal to $n. Do it quickly.