Dimension and hitting time in rapidly mixing systems