302 Swirl port heads vs 340 X heads
You will lose compression because 302's are closed chamber and the X-heads are open chamber about 68-72cc's originally. The big valves will also hurt.
If they're in decent shape and you can get them cheap, do it. But not for your current combo.