Microsoft had to resort to memory compression to reduce the footprint for machines with up to 4GB RAM. The compression reduces the need for the swap file. Heavy use of the swap file is seen with inadequate amounts of memory.
Many run 64-bit Windows with as little as 2GB of RAM. While it will install and run, the performance is very poor. The swap file activity really slows the machine considerably.
The compressed memory feature in Windows 10 is designed to improve the performance (responsiveness) of the system due to storing part of the memory pages in RAM in a compressed form. It helps to reduce the number of read / write requests to the memory pages in the slow (compared to RAM) paging file on a hard drive.
Windows runs very well with 8GB of RAM. With this amount of memory integrated graphics on a machine have some room to breathe. The swap file is not used nearly as much as with machines equipped with 4GB.
Multitasking works better with 16GB or more memory when using 64-bit applications which tend to use more memory. The swap file is hardly used at all which results in much smoother operation.
Machines with 32GB, 64GB or even 128GB are generally used for more demanding tasks such as 3D game map development etc.