I've had an E36, E46 and E90.
My E90 though was a 325i, so I can't really comment. But if do some research on the 335i those things can be mapped to stupid BHP and torque.
E36 is my favourite car of all time, the M3 Evo is an amazing car in my eyes, i think though that some people forget that its 17 years old now, but will still do a 350Z. An incredible engine of its time and still is.
Again, with the E46 M3 - An icredible car, very quick as a general road car as well as a track toy.
Personally I would go for the E92 over the E46. But saying that I would pick an E36 still cause I like it old school!