Today, dollar for dollar, is the 318 faster than the 340 ???

So the choice is really a 318 and $3k to spend, or a 340 in equal shape and $1,500 to spend? I think I'd still take the 340.
Thanks! When talking resale, you'd be ahead with the 340. I'm just not sure the 340 wins the race at the end of the day. 22 cubes, in my opinion, isn't enough to make up 1500 dollars more to spend in performance.