fast array read implementation