The G42 and P238 are in different size groups IMO. The G42 is closer to the size of a Shield, whereas the P238 is quite a bit smaller.
I really like my P238, but I wish it the controls protruded less from the sides. I'd say a Shield w/o safety, or a Beretta Nano are close in size to the G42...