This means I would never strangle a puppy, but i would do that before I would lie to you. It’s a way of emphasizing that you would never do something. By the way the two things could be just about anything.
I’d no sooner eat eat calves liver than jump off a 10 story building.