Chapter 29. The Final Optimized Undo

With a few simple considerations, we come up with a good way to reduce the storage requirements of our original Undo. However, as you’ll read in the chapter that follows this one, first came some false starts. Here, we’ll take a look at how well things turned out, and then we’ll explore the dead ends.

Deciding to Begin Again

This chapter is out of chronological order. Following it is a dark chapter about the false starts I made trying to optimize Undo. This one is moved forward for three reasons: first, it will be easier to understand if placed in proximity to the initial Undo that you just read about in Chapter 28—the one that snapshots everything. Second, with knowledge of how truly simple the optimization ...

Get Extreme Programming Adventures in C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.