Cute example of configuring Emacs to avoid GC when the minibuffer is open (so completion is quick): https://bling.github.io/blog/2016/01/18/why-are-you-changing-gc-cons-threshold/