optimum length for a .243 barrel in 1 in 8 twist?

is the answer affected by rifling style?

or the material the barrel is made of, or treated with?