As mathman says the pressure works over a period of time to accelerate the bullet. A short duration/peak of pressure may not do as much work as a lower peak but longer duration.
Explanation ignores the ever increasing volume of the gas mixture, and violates the General gas law. PV/T=P'V'/T'