Doesn't the new OS have memory compression so that you can run more apps with the same amount of memory?
In real life, memory compression is demanding on the CPU and they have to use a lightweight compression algorithm to keep response times snappy. It'll help sometimes, but in general, it's not going to make a machine with 4GB behave like a machine with 8. It might make it behave more like a somewhat-slower machine with 5.