3 ms·assuming 0..arrayLen-1 shouldn't that code fromIndex >= toIndex, and toIndex >= arrayLenby malkia 15y agoassuming 0..arrayLen-1 shouldn't that code fromIndex >= toIndex, and toIndex >= arrayLenmalkia 15y agoI think I got it, toIndex is +1 counted (I guess). Ah well who cares!greyfade 15y agoI do. I think it'd be hilarious if a Copyright case like this went forward and the defendant said, essentially, that they "threw away and rewrote" the copied code because it had too many bugs.