The biggest difference is the time and labor put in. You may spend more money and time on an engine rebuild, while engine swaps tend to be quicker. An engine rebuild is typically much better than a swap.