gosieve

command module
v0.0.0-...-50ffcee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2012 License: BSD-3-Clause Imports: 7 Imported by: 0

README

----
Prime numbers sieve implementations using CSP channels in Go.
----

./sieve1.go    Taken from the Go language tutorial, worse than trial division

./sieve2.go    Eratosthenesque, simple implementation

./sieve3.go    Eratosthenesque, with wheel optimization and more efficient
		   implementations of `PeekChHeap` and `sendproxy`, the result is
		   about 4x faster than ./sieve2.go

I wrote about it here: http://blog.onideas.ws/eratosthenes.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL