All things being equal (quality of glass and coatings) a 10X50 binocular will show you more detail in low light than an 8X40 binocular even though they both have a 5mm exit pupil of light for your eyes to use. You need more magnification and a larger objective to make resolution gains in low light.

The 10x50 has a higher twilight factor than the 8X40.