Aside from period correcctness, barrel length is also based on a factor of sight radius and the length of bore necessary to optimumly burn the intended powder charges.
For instance in a 21 inch barrel 50 cal, thee optimum powder charge is around 80 grains, above that the excess is largely burned in muzzle flash and wasted. Now in a 54, there is the factorr that there is more diameter bore for the powder to burn in and there fore less waste of powder for the same length barrel.
You can also reach the point where a barrel is too long and the ball actually starts losing muzzle velocity. You can figure this out by checking ballistics tables, for instance the Lyman Black Powder Handbook, 1st ed. Frankly, 100 grains and perhaps a bit more will be consumed pretty well in a 36 inch barrel. In a 42 inch barrel the ball may start slowing down.
From the Lyman book I found the following for 54 round balls.
28 inch barrel 3fg Goex
50 grains 1125 ft/s
70 grains 1375 Ft/s
100 grains 1605 ft/s
140 grains 1895
34 inch barrel
50 grains 1247 ft/s
70 grains 1439 ft/s
100 grains 1662 ft/s
140 grains 1973 ft/s
43 inch barrel
50 grains 1295 ft/s
70 grains 1527 ft/s
100 grains 1740 ft/s
140 grains 2113 ft/s
a 40 grain load has nearly the same velocity when fired out of a 28, a 34 or 43 inch barrel
going from the 28 to the 34 to the 43 inch barrels for a 100 grain charge gives a 57 ft/s increase to a 80 ft per sec increase from 34 to 43
you have to decide whether the extra barrel weight is worth the extra 5 to 7% velocity. Keep in mind, that once you get over the speed of sound, the ball also slows down faster than a slower moving ball., so at higher velocities, the extra few ft/s of muzzle velocity is partially lost by the time the ball reaches 125 yds.
Here in the east, we don't have the wide open shots and for deer, we don't need that extra oomph, However, we often end up walking through brush and trees where a longer barrel can be a real disadvantage, especially if it is heavy.
If you are doing less walking through brush, or just plain less walking, the longer heavier barrel may not matter.