AMD Ryzen 9 7945HX 's Advantages
Newer PCIe version (5.0 vs 4.0)
Larger L3 cache size (64MB vs 16MB)
AMD Ryzen 5 8640HS 's Advantages
Released 11 months late
Better graphics card performance
Higher specification of memory (7500 vs 5200)
Larger memory bandwidth (89.6GB/s vs 83.2GB/s)
Higher base frequency (3.5GHz vs 2.5GHz)
More modern manufacturing process (4nm vs 5nm)
Lower TDP (28W vs 75W)