If I wanted to only use std::string, for example, wouldn’t importing a (theoretical) std::string module be more performant than importing the entire standard library?
Is it for ease of use, since you have to build the standard library module yourself and building each individual component you want into a module would be tedious?
Or is it due to some sort of overhead from creating a module (of any size), where if you import enough smaller modules, it would eventually be more expensive than just importing one large one?
jwick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.