look at the M&P compact over the g27. i have the M&P9c and owned a G26 and didnt like the feel of the G26 in my hand...plus, the M&P has the interchangable grips so you can go from a smaller feel, to larger.
size-wise, theyre pretty much identical. IIRC, one of them was like 1/4" longer than the other. i think it was the glock, but i could be wrong