You can allocate enough RAM to store everything,
arrange it in cache efficient structures., and let the OS figure it out.
can touch structures to get them to pre-load but there are still
control over when things load or purge.
can fill up the swap device.
to tune or know performance of the system.
these things, if the application is not too demanding it can save you a lot of work.