p-dimension