Factoring being in P does not entail that there is a fast (in the practical sense, not the technical sense) algorithm.