340 has a hard time starting when hot?

Check the ends on the cable, see if there is any corrosion or broken wires. Also if the cable gets hot while cranking it's too small.

I never thought about my small block cranking until I relocated the battery to the trunk. I ran a O or OO welding cable from the solenoid in the trunk directly to the starter. It cranks and starts better now then ever before. The starter even sounds different.
cable doesn`t get hot, no corrosion--------