Will there ever be a circumstance where it'd be wiser to pursue commitment, before sex?

Perhaps if the guy is looking for something more serious, and the girl doesn't want to be seen as a slut.