Assuming they are both Core 2 Duo CPUs, unless you are doing things that are exceptionally processor intensive, you're probably going to see better performance gains out of the 4 Gigs of RAM.
That assumes all else is equal; there could be other differentiators (backlit keyboard, for example) that you may want to consider.