If you can, try them first.
When I tried the M&P, and the Glock 26 side by side at the range, my target acquisition with the Glock was far quicker and more accurate than the M&P.
However, my adult son who is 6'4" shot more accurate during quick target acquisition than he did with the Glock.
Thomas Jefferson: "The laws that forbid the carrying of arms are laws of such a nature. They disarm only those who are neither inclined nor determined to commit crimes....Such laws make things worse for the assaulted and better for the assailants; they serve rather to encourage than to prevent homicides, for an unarmed man may be attacked with greater confidence than an armed man. Thomas Jefferson's "Commonplace Book,"