RAM is significantly faster than a flash drive since it can handle 20-40GB/s. Although it’s more expensive than flash memory, it can handle short-term memory demands significantly better than flash memory is capable.
You can use flash memory in the form of a USB stick/flash drive as RAM to improve your computer’s memory and performance. It can take a little setup, but it’s very possible.