Let's say I call booktabs
even if I don't write any table in my document. Would it be better if I leave it out?
1 Answer
The simple answer to this question is Yes. There are at least three reasons why you should avoid loading unused packages:
Speed. Very large packages like TikZ will definitely increase the time it takes to compile a document because they load a lot of code, and all of that code takes time to load.
Errors. Loading lots of packages can increase the possibility of interactions between packages and can sometimes lead to errors.
Debugging. When you do get an error, if you have lots of extraneous packages it may be harder to find out which package is actually responsible for the error.
\usepackage{tikz}
to a document that doesn't use tikz and timing the total run time