externalize arrays and slices faster if element type does not need to be converted