News for hackers. Stuff that matters.
Re:Why does musl make my Rust code so slow? (2020) by returningfory2 on Tuesday December 12, 2023 @04:16PM (#38618672)
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.

There are no comments on this comment yet.