"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: add a diff cache to tog
To:
gameoftrees@openbsd.org
Date:
Sat, 7 Aug 2021 23:18:59 +0200

Download raw body.

Thread
Stefan Sperling:

> > This patch adds a diff cache to tog.
> > 
> > For very large changes computing the list of changed paths and text diffs
> > can take quite a while. If we keep a couple of temporary files open which
> > contain generated diff output we can avoid reproducing a diff from scratch
> > if the user wants to see a diff again which we have already cached.
> > The cache is keyed on object IDs and diff options.

Does this solve an actual problem?  I rarely want to view a monster
diff.  Most of the time I hit it by accident and I don't want to
see it again.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de