Anonymous user
Brilliant numbers: Difference between revisions
→{{header|Swift}}
(Swift) |
|||
Line 1,003:
=={{header|Swift}}==
Magnitudes of 1 to 3 is decent, 4 and beyond becomes slow.
<lang rebol>func primeArray(n: Int) -> [Bool] {
|
(Swift) |
|||
Line 1,003:
=={{header|Swift}}==
Magnitudes of 1 to 3 is decent, 4 and beyond becomes slow.
<lang rebol>func primeArray(n: Int) -> [Bool] {
|