As I recall one of the advantages the French had in the Dahomey Wars was that they used bayonets while their opponents preferred swords. This gave the French a decisive reach advantage.