4 ms·
So say you need a particular function. You end up importing this entire module, which has dependencies that also are defined in large-granularity terms (other m
by djackson 15y ago
So say you need a particular function. You end up importing this entire module, which has dependencies that also are defined in large-granularity terms (other modules) that have their own dependencies. So to use one function, you get saddled with a whole heap of dependency overhead.
Just playing the devil's advocate here: in this use case, why not just write the function yourself?
- stcredzero 15y agoBecause, if there was a way to quickly find and import the right function (with small-granularity dependencies), it would be much faster in a great many cases.