Use native typed arrays for faster processing