In the file plugin/zim/plugins.vim, the command system("find /usr/lib/python* -name 'zim' -type d") is executed.
This causes a lot of reads, which depending on the storage media, and the size of /usr/lib/python*, ends up being really slow if the caches have been evicted from memory. Additionally, it doesn't find anything when zim isn't installed there (e.g. gVim on windows)
What is this used for? Can the files it's looking for be stored inside this repository instead? Or the data it's trying to extract be represented more efficiently?
In the file
plugin/zim/plugins.vim
, the commandsystem("find /usr/lib/python* -name 'zim' -type d")
is executed.This causes a lot of reads, which depending on the storage media, and the size of
/usr/lib/python*
, ends up being really slow if the caches have been evicted from memory. Additionally, it doesn't find anything when zim isn't installed there (e.g. gVim on windows)What is this used for? Can the files it's looking for be stored inside this repository instead? Or the data it's trying to extract be represented more efficiently?