Does lightroom gain more speed from a better CPU and Ram or from a faster disk?
I don't think it quite that easy.
Watching performance monitoring utilities with LR's develop module I see a wait for disk access, then high CPU utilisation, so both are important.
LR never seems to use large amounts of RAM, but more RAM allows the OS to allocate more of it's share to disk caching which can be helpful if accessing sequential images. This suggests that moving to a 64bit OS won't provide major improvements to LR just through being able to install more RAM, but may help your Photoshop issues.
You don't say what your current HDD configuration is. I've found the best results from splitting system and software installations on one disk, LR library on a different disk and the actual image files on another. The first two run on Western Digital Raptor SATA HDDs (10k rpm), these provide a significant speed increase over 'normal' drives without the cost penalties of either SSD or SAS drives.
So my advice would be fast CPU, the fastest disks as you can afford, then add ram.
Interestingly monitor size plays a part too! upgrading to much larger system monitor significantly slowed down LR's loading of previews, but my small netbook with a much more marginal spec still runs LR acceptably. I assume that it's the larger preview images causing the difference.
Paul
3ghz quad core, 8gb ram, W7 64bt, 10k raptors & 7.2k image disks PA271 & 1980sxi
or
1.3ghz netbook on 32bt XP with 2gb ram, 7.2k disk & small screen.