Date: Sun, 30 Jun 2024 20:35:11 +0300
On Sun, 30 Jun 2024 at 20:19, Marcin Jaczewski via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> Now I wonder if this thanks to some special handling for `std` or will it
> work similar in user defined modules? Like I could
> create a 20MiB helper module with tons of functions but if I use only
> one of them then the final binary will only grow by a couple of kB.
Sure, that's how object files work on most implementations.
<std-proposals_at_[hidden]> wrote:
> Now I wonder if this thanks to some special handling for `std` or will it
> work similar in user defined modules? Like I could
> create a 20MiB helper module with tons of functions but if I use only
> one of them then the final binary will only grow by a couple of kB.
Sure, that's how object files work on most implementations.
Received on 2024-06-30 17:35:26