It’s more efficient to only loop once through your data. You can make your array only represent odd numbers and get a nice speedup.
I’ve got some code and discussion here
It’s more efficient to only loop once through your data. You can make your array only represent odd numbers and get a nice speedup.
I’ve got some code and discussion here