Talk:Sieve of Eratosthenes: Difference between revisions

(Undo revision 124245 by Paddy3118 (talk))
Line 38:
== unix shell versions ==
[[User:Kernigh]] has added a note that the shell version use trial division (I don't quite understand how they actually works, it's difficult to trace), I have added on version that is actually using the sieve operation at the end. --[[User:AlexLehm|AlexLehm]] 23:09, 28 October 2011 (UTC)
 
== NetRexx Performance ?? ==
 
Tried the NetRexx Version and got
 
: 6.3 seconds for high=200000
: 0.19 seconds for high=200000 in ooRexx
 
:high=2000000
::ooRexx 2.4 seconds
::NetRexx bombs with
:::Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
::: at snt.sieveOfEratosthenes(snt.java:77)
::: at snt.main(snt.java:45)
2,295

edits