AMD Ryzen 5 8645HS 's Advantages
Released 11 months late
Higher specification of memory (7500 vs 5600)
Higher base frequency (4.3GHz vs 3.8GHz)
AMD Ryzen 7 7840H 's Advantages
Better graphics card performance
Newer PCIe version (4 vs 4.0)
Lower TDP (35W vs 54W)