in reply to Re^2: To Findout Prime number
in thread To Findout Prime number
The main advamtage of vec over substr is going 8 x higher for any given amount of ram.
Of course, you can go twice as high and a little quicker, with either, by not wasting space for even numbers.
And once you start saving space, you can go as far as 8 bits for every 30 numbers and higher still.
|
|---|