I would go for the M3. It's original purpose was to compete on the track. It's just cool.
But I have to agree with mods and tuning the 335 will be a monster. But still, M3 was born for the track. The heritage is there.
But yea, either way you're not gonna lose.