It doesn't add to the problem, so long as the measurement's you're using for the compact (sloping) frame is the "effective" top tube. Imagine a horizontal line parallel to the ground that goes from the center of the seat tube to the center of the head tube.

What two bikes are you comparing and in what sizes? Most bike manufacturers post their geometry specs, for current and past models.