zswap is not transparent memory compression: it specifically focus on compressed paged-out faults.
I am not aware of anything that goes the MacOS way: actual compressed ram, with fast in-cpu-cache decompression of the compressed payload carried over the dram bus.
https://lwn.net/Articles/545244/ -- I believe this article was written a bit before zswap was merged into the kernel.