RAM would likely help if your under 2gb but it's more so your processor (# of them and # of cores doesn't actually matter in the case of this game)just over 2ghz would reduce most lag but again the xml library is too large for the game to accommodate which slows down searching times. Besides this its your regular background systems that slow things down.
p.s. if your graphics card has the features and a gpu better then 200 mhz it really doesn't do much for the game, it's more so dependent on the game settings itself quality, detail etc.
I am your sword, I am your shield,
Surrender is not an option()