One of the interesting things about the 40 vs the 10mm is how they were optimized for performance at birth but then along came new powders that made them much closer in power.
First start with the industry standards and ammo design. The 40 SW is made for a 4 inch barrel and ammo created accordingly decades ago. The 10mm was designed for a 5 inch barrel and ammo invented for best performance in that case capacity.
Now enter new powders since them, CFE and LilGun. The case capacity has a little room that allows for light weight bullets in the 40 SW to increase velocity dramatically, that only applies to 135 and 155 grain bullets, as the heavier ones need the additional powder that you can cram into the longer 10mm case.
Now pull out the latest manuals, the 2022 version of the Nosler manual or it is copied in the Hodgen data.
You can drive the 135 grain bullet in the 40 SW to 1,400 fps. That is 10mm range of the past.
Here is the Hodgen data for the 4 inch barrel, for those above 1,300 fps.
At 1,300 fps that is 507 FPE, at 1,400 fps that is 588. That power level did not exist then the 40 SW was actively sold to shooters and police. In fact, the load was a 180 grain at 950 fps which was 360 fpe and the Black Talon was about the same. Only the early Corbon ammo was above 1,350 fps, and now all of the premium ammo brands are hot like this. Point is, back in the day, the 40 SW was sold as producing under 400 FPE, all of the premium brands today exceed 500FPE. What we knew about the 40 forty years ago is totally unrelated to what we know today. Because of new powders.
Bottom line. If you want a 357 magnum level semi auto that is reasonable in size, like the Glock 23 or others, the 40 SW is the round of choice. Of course the 357 Sig will do the same.
My 2 cents.