In this case, the 20% reduction in diameter, while keeping the same shape means the projectiles are less than half the size.
In a counter-insurgency role, the A-10 fires roughly 65 13.3 ounce high explosive shells in one second. Roughly 54 pounds of high explosive shells per second.
The F-35 is planned to fire 55 6.5 ounce projectiles per second. That's 22 pounds of shells per second.
54 lbs vs 22 lbs is a significant difference.
Though, as others have said, it's the ammo capacity that is the major problem with the F-35's proposed gun. Only being able to make one or two guns runs before being out of ammunition precludes any kind of sustained ground support.