ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

3
Date Submitted Sun. Apr. 29th, 2007 10:14 PM
Revision 1
Helper esumerfd
Tags "Sieve | Eratosthenes" | groovy | of | primes
Comments 0 comments
The tests for the Sieve of Eratosthenes snippets.
3
Date Submitted Sun. Apr. 29th, 2007 10:07 PM
Revision 1
Helper esumerfd
Tags "Sieve | Eratosthenes" | groovy | of | primes
Comments 0 comments
Generate prime numbers below some limit. This snippet incorporates some DSL like keywords to describe the prime algorithm.
6
Date Submitted Sun. Apr. 29th, 2007 10:04 PM
Revision 1
Helper esumerfd
Tags "Sieve | Eratosthenes" | groovy | of | primes
Comments 0 comments
Generate prime numbers below some limit. This snippet uses groovy categories to locate the appropriate methods in common classes.
6
Date Submitted Sun. Apr. 29th, 2007 10:02 PM
Revision 1
Helper esumerfd
Tags "Sieve | Eratosthenes" | groovy | of | primes
Comments 0 comments
Generate prime numbers blow some limit using the Sieve of Eratosthenes algorithm. This snippet uses some object abstractions to simplify the algorithm.
3
Date Submitted Sun. Apr. 29th, 2007 9:58 PM
Revision 1
Helper esumerfd
Tags "Sieve | Eratosthenes" | groovy | of | primes
Comments 0 comments
A possible implementation of the Sieve of Eratosthenes for generating prime numbers below some limit.