There is also the KahrTP, P, PM ,CW, Springfield XDcompact andChampion, Taurus 24/7, S&W M&P45C, Bersa Thunder and Para Ord PDAjust to name a few compact models.
Depending on your budget.
Of the two models you spoke of, I would choose the Glock only because of QC, resalevalue and holster availability.
Have you shoot either firearm?
If so, which did you like/shoot better?
Which is in your price range?
After the purchase will you have enough $$ to buy ammo to insure the firearm is reliable before you carry it for SD?
Just my $0.02.