Bullet hardness
Second that. With 18 BHN in pistols, velocity won't be much of an issue. Bullet diameter is, though, and key is to use what works best, through testing, in your gun. There are useful formulas out there for determining the 'optimal' BHN, but there are so many variables (cylinder throat size, barrel diameter, bullet alloy used, whether the bullets are heat treated and/or water-quenched, how long ago they were cast, chamber pressure, muzzle velocity, et cetera) that nothing can be construed as 'gospel'.
I think (and this isn't necessarily gospel either) that two (three) things are very useful: First, check your cylinder and bore dimensions through slugging. Second, check your bullet dimensions for .001 to .002 oversize. Third, if you experience leading, look at it: Does it occur toward the breech only, or throughout the bore? If toward the breech, that indicates either too hard a bullet for the chamber pressure, or an undersize bullet, causing gas cutting. Throughout the length of the bore is more of a velocity issue. Personally, I don't worry too much about it; a few seconds' cleaning with either the Chore-Boy method or using a Lewis lead remover makes it a moot point unless you've got sheets of lead building up in your barrel, which I've seen happen, in which case I just go to a harder bullet.
Cast bullets as opposed to jacketed are by nature dirtier and require a little more elbow grease but they're so much cheaper that I don't mind.