Depends, if you have many pigs then it's easier to slaughter few of them than to hunt for boars. Especially if those pigs have higher quality meat / bones
It's basically like branches and boughs. You can easily use branches to make a fire or a roundpole fence, but you can also use boughs anywhere you use branches if you need to. Same result, just a different means to an end.
Now to see how many people have just learned that you can use boughs like this