From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Tue, 27 Jun 2023 00:47:55 +0000 (-0700) Subject: Decrease cost of ipynb code path when unneeded (#3748) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/31b3b6701d2cfae072900f9d45dc8f1737ab282b?hp=31b3b6701d2cfae072900f9d45dc8f1737ab282b Decrease cost of ipynb code path when unneeded (#3748) IPython is a very expensive import, like, at least 300ms. I'd also venture that it's much more common than tokenize-rt, which is like 30ms. I work in a repo where I use black, have IPython installed and there happen to be a couple notebooks (that we don't want formatted). I know I can force exclude ipynb, but this change doesn't really have a cost. ---