VIM: Improve performance of folders_render
authorFranz Fellner <alpine.art.de@gmail.com>
Thu, 22 Jan 2015 20:16:47 +0000 (21:16 +0100)
committerDavid Bremner <david@tethera.net>
Fri, 23 Jan 2015 17:18:54 +0000 (18:18 +0100)
commitce9f559b8642e0cc2eaffbf9dea9b3cbd46ee30d
treee063d5a9e225f7c0f316f2e74a4dc9fa3be81b94
parent9d4ff29ad86e24d0cc3500ca1d0ef2ab91cde222
VIM: Improve performance of folders_render

Simply use query.count_[messages,threads] instead of actually running
the query and using the count attribute of the result set.
vim/notmuch.vim