I bought a brand new 2008 335i and drove it for 10 months/8k miles then I got rid of it to get a 2008 M3. It's completely different car in terms of drivability.
You just can't judge by #s and what paper says.
You need to drive both and see what's more close and deliver what you're looking for.
PAST: 11 E70 X5M | 08 E90 M3 | 08 E92 335i | 03.5 E46 M3 | 99 E36 M3