I need to import two modules: A and B. Module A (which will be later used by B) takes too much time to load which slows down the whole code when it's ran sequentially.
Is there a way to import A concurrently while B is running in order to speed up the code? The idea being that A would be completely loaded by the time B gets to needing it without the latter having to wait for it.
Thanks.