Is it possible to reduce the gas cost of this function? It's currently at 140k gas for 20 elements. (I'm new to solidity)
uint8[1000] public array;
function Test(uint32[] index, uint8[] value) public {
for (uint i=0; i<index.length; i++) {
array[index[i]] = value[i];
}
}