3 ms·
> You can just use the functional import syntax inside of a block. You don't even need functional import syntax, but as TFA notes this comes at a cost as it ha
by masklinn 4y ago
> You can just use the functional import syntax inside of a block.
You don't even need functional import syntax, but as TFA notes this comes at a cost as it has to invoke the entire import machinery, which it can only skip to an extent (once a module is loaded and cached) as import hooks can have odd behaviours.