I'm using a lot of
\lstinputlisting in my document and the compilation of it is really slow. Why it takes so long? How could I make things better?
I have in my current document an appendix with a lot of listings. I omit the appendix with the versions package to save some time.