Minimal work:
Over all horizontal length is the key dimension. Cylinders will more likely swap with similar vintage parts.
You should take an overall length measurement of your cyl with a dial caliper in .001 of an inch and seek one the same length or longer (1st photo). The last ten thousandths of an inch is what tells us if it will fit right in another gun or not. Over size can be fitted, undersize causes cyl end shake.
Photo courtesy of "rugerguy"
If it fits in the frame, check for too much fore and aft end play called "cylinder end shake" in gunsmith terms.
If nice and snug, check for free rotation and check for a .004" to .007" bar/cyl gap. Cycle the action to confirm all chambers lock up at full cock. And you're safe to go.
A cyl with a gap at the gas ring as shown below at the bottom arrow, will rub on the end of the barrel at the top arrow because it will move back and forth in the gun. Generally if overall length is correct, barrel to cyl gap will be within tolerance: