318 is toast?

I had a feller tell me to run 318 heads on a 340 once...Im not sure the relevance but it goes to show the internet is full of all types of advice...
I did that once, even with a 318 cam. Engine had a crapload of torque , all the way to about 4000 and beyond. She went 5000 easy enough, but with hiway gears, that was more speed in second gear than I cared to achieve. I called her my big-bore 318, and I have fond memories of that combo.