Two days ago a similar comparison was published with the 21mm f/3.4 Super-Elmar-M ASPH in Guide to Leica. But it is always good to seek confirmation with another lens.
Sharpness overall? Sharpness in the corners? Color uniformity? And so on.
M240 vs M9P (24/3.8 Elmar-M ASPH, Glacial Erratics)
Leica M Typ 240 + Leica 24mm f/3.8 Elmar-M ASPH