Being overweight is a risk factor for complications from surgery and general anesthetics. Recovery is more prolonged in overweight people with increased risk for blood clots and wound infections.
That is why, if you are overweight, losing weight prior to surgery is so important.
I use low carbohydrate diets which are healthy and effective for rapid weight loss with no hunger involved.