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

budget build 318.
302 or 308 heads. which would you prefer?
I would take flow over compression. I'd also with my budget change the pistons.