6 ms·
My initial suspension is that this falls into the "In most cases it's not even an optimization" case, but do correct me if I'm wrong. When you create a new Doc
by returningfory2 3y ago
My initial suspension is that this falls into the "In most cases it's not even an optimization" case, but do correct me if I'm wrong.
When you create a new Docker image with a recompiled Rust binary, only the last Docker layer will need to be downloaded to the device. Incremental caching means Docker won't re-download the base layer. The last layer is basically the new binary itself. So I don't see how it would be slower than copying the raw binary. But maybe I'm missing something.