Except that integer factoring hasn't been shown to be NP-hard, so finding a polynomial algorithm has no immediate effect on P = NP.