Development on a laptop: Intel core i7-10875h vs AMD Ryzen 7 4800h / 5 4600h (Please help me decide)

[…]important
for unreal is more cores (for lighting
building and compilling) and high cpu
clock speed (for the better single
core performance) ? […] but it gets
really really hot, and i will probably
have to undervolt and lock the cpu
speed in order to get lower temps

i7-10875h and one of those badboys instead of the underclock:

332281-fan.png