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.
This seems to be the current state of the world: https://unix.stackexchange.com/a/374579