Java-SegmentedSieve This is my implementation of a segmented prime number sieve in JAVA. Changelog v1.0: Initial Version working on SPOJ. v1.1: Trying to optimize garbage collection by declaring variables outside of loop.