I have a bool array
For example:
var myBool: [Bool] = [true, true, false, true ,false]
and I want to change all the elements from index 1 to index 3
something like this:
myBool[1...3] = true // [true, true, true, true, false]
I don't want to use for loop because I have a very big array which is changing fast and the loop is too slow to handle this kind of change.