it's a read only compressed file system so I am not so sure about that
It is, though. Under memory pressure the kernel will drop any page that's backed by a file, and then page it back in as needed. "swap" is just making _all_ memory be backed by files.