This.
Although I wouldn't bother looking for any more than 4GB of RAM unless you have a very specific task in mind that you know will use it. You see laptops with frankly underpowered CPUs being offered by vendors with 8GB of RAM that is never going to get used and will just sit there using power.
In a scenarion where laptop A has a slower CPU and 6gb or ram and Laptop B has a faster CPU and 4gb of RAM I would always go for laptop B.
In my personal experience I sometimes regret stumping up the extra money for the "proper quad with HT" in my XPS17 although the next step down was a dual core with HT which I felt could have been underpowered. This 740QM can kick out some serious heat while gaming though which isn't ideal.