Path to this page:
./
benchmarks/nsieve,
Sieve of Eratosthenes benchmark
Branch: pkgsrc-2021Q4,
Version: 1.2b,
Package name: nsieve-1.2b,
Maintainer: pkgsrc-usersThis Sieve of Eratosthenes program works with variable size arrays. It is
a straight forward extension of the original Gilbreath version (
Gilbreath, Jim. "A High-Level Language Benchmark." BYTE, September 1981,
p. 180, and also Gilbreath, Jim and Gary. "Eratosthenes Revisited: Once
More Through the Sieve." BYTE January 1983, p. 283 ). Unlike the Sieve of
Gilbreath, NSIEVE uses register long variables, pointers,and large byte
arrays via 'malloc()'. Maximum array size is currently set at 2.56 MBytes
but this can be increased or decreased by changing the program LIMIT
constant.
Filesize: 21.926 KB
Version history: (Expand)
- (2022-01-05) Package added to pkgsrc.se, version nsieve-1.2b (created)