Does selective imports have an effect on the resulting executable?
Gary Willoughby
dev at nomad.so
Thu Nov 28 04:31:09 PST 2013
Does selective imports have an effect on the resulting
executable? For example if i included the following at the top of
my source to only include one function from a library:
import std.algorithm : reduce;
Would it have any impact on the resulting executable? i.e. only
include compiled code for the selected functions?
If i imported the whole library like this:
import std.algorithm;
Is it more wasteful? Not as optimised? Any draw backs? Bigger
executable?
More information about the Digitalmars-d-learn
mailing list