From what I have learned, new military inventions make wars shorter than you would expect. If one side of the war invents a gun in the middle of the war instead of using a sword, that side will have an advantage. Their enemy will have a tougher time and will lose fast. In an example like from world war two, the USA found a new invention called the nuclear bomb. And we used it as a weapon and dropped it over two cities in Japan called Hiroshima and Nagasaki. The nuclear bomb wiped out every thing and everyone. Then after that Japan surrendered and we won without losing millions of people to a land war. With no bomb, the USA would have invaded. That would take a long time and many dead.