How I used zstd compression to implement an undo system for Blockdown.

https://prideout.net/blog/undo_system/