Brilliant numbers: Difference between revisions

Line 1,004:
=={{header|Swift}}==
Magnitudes of 1 to 3 is decent, 4 and beyond becomes slow.
<lang rebol>//Using Sieve of Eratosthenes
//Using Sieve of Eratosthenes
func primeArray(n: Int) -> [Bool] {