And of course that velocity loss is measured at the muzzle. Down range where it matters there will probably be no difference, or the drop will be even smaller.
I'm sure I read somewhere that a barrel greater than 16" on an HMR actually reduces velocity as well, as the cartridge completes its burn within 16" so any additional length only acts as a drag on the projectile. Don't know if that's trues but it sounds reasonable.