The 335i " feels" faster.. Because of the torque, just a remap on a 335i does not make it faster. Evolve did a mag feature.. Remapped 335i did 0-100mph in 11.8 sec the E46 does it in 11.2.
But the power delivery could not be any more different. The torque of the 335 makes its performance so easily accessible.. The M3 needs several cogs dropped to be quick.