I have never been disappointed with a bigger heavier bullet. Having shot several pigs with both 9 and 40, I'm going to say I prefer 40. But take that from a guy whose EDC is a 1911-A1, which also does well on pigs.
The only time I carried a .40 S&W was when the department gave me no other choice.
To this day, I've never liked it. I get old bullet tech with 9mm sucked and the .40 was basically at plus P velocity, but .45 beats it everytime in my opinion. The 4 extra rounds from a P220 to P226 just wasn't worth the squeeze.
I look at pistols as "o'shit guns" and purely defensive just to get me to a long gun.
I have never been disappointed with a bigger heavier bullet. Having shot several pigs with both 9 and 40, I'm going to say I prefer 40. But take that from a guy whose EDC is a 1911-A1, which also does well on pigs.