# Theory of patches and incremental build caches

**URL:** <https://discourse.pijul.org/t/theory-of-patches-and-incremental-build-caches/403>\
**Category:** Uncategorized\
**Created:** [August 29, 2019, 12:19am UTC](https://discourse.pijul.org/t/theory-of-patches-and-incremental-build-caches/403 "2019-08-29T00:19:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvc](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/dvc/32/200_2.png) [@dvc](https://discourse.pijul.org/u/dvc)\
**Post date:** [August 29, 2019, 12:19am UTC](https://discourse.pijul.org/t/theory-of-patches-and-incremental-build-caches/403/1 "2019-08-29T00:19:23Z")

</div>

I’m not familiar with category theory, but I’d be curious to know if there is a relationship between the two. It makes sense that if you add a line in a patch it adds something to the build cache and if you remove a line it removes something from the build cache. The idea behind it is if I pull a patch from someone, I can also pull the relevant entries from the build cache and avoid having to rebuild everything. But maybe that’s a stupid idea 🙂
