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.
Live with intention. Walk to the edge. Listen hard. Practice wellness. Play with abandon. Laugh. Choose with no regret. Continue to learn. Appreciate your friends. Do what you love. Live as if this is all there is.
--Mary Anne Radmacher