#Is it better to import submodules individually for compile times?

1 messages · Page 1 of 1 (latest)

winged heath
#

This shouldn’t affect compile times at all, the compiler only properly analyses the stuff that you use

torn gulch
#

Right - you actually cannot import "only the submodules you need".
You'd still need to do @import("std") regardless of how much of it you actually want to refer to.