I recently asked this questions elsewhere, and the best answer I got was between 30-50fps/inch, and closer to the 30-40fps end of that spectrum. Run the numbers through some ballistic calculators and see if that makes a difference you care about.
General consensus is that if you are shooting up to 600 yards, a good 20 incher should be fine. Beyond 600 yards, you might get some gain from the longer barrels. But bottom line is the .223 doesn't take as much advantage of longer barrels as larger/magnum class cartridges.
Someone please correct me if the above is wrong - I'd like to know myself.