logoalt Hacker News

choo-ttoday at 10:54 AM1 replyview on HN

You don't need a copy of the original data, you can simply store your change as a XOR so undoing it mean XORing it again.


Replies

Retr0idtoday at 10:57 AM

However, if your change involves zeroing something out, you're back to storing the original data again.

show 1 reply