I still haven't been able to find a solution to the operator[] question so I've just been doing tests using my set/get methods for array access.

The problem I'm running into now is the speed of accessing the array, just a relatively small array size of 100000 entries takes ~3s to iterate through and set.

I was expecting maybe a few orders of magnitude difference in speed (versus normal C++ execution), however this is more like several orders of magnitude difference. Is there any way to speed this up, or a different way to pass in and modify a byte array in a script function?

Derek R.