heraldofsolace / VimHelpBot

VimHelpBot is a bot that replies to r/vim and r/neovim comments with link to Vim Help page
GNU General Public License v3.0
46 stars 2 forks source link

There is no need to parse all *.txt file #28

Closed GoldsteinE closed 4 years ago

GoldsteinE commented 4 years ago

It's enough to parse tags file, which is simpler and faster

heraldofsolace commented 4 years ago

Which tags file are you talking about? If you're referring to the code in help_tags_extractor then it parses the txt files and compiles the tags into the database. Those files are parsed and the tags are compiled into a database so it doesn't affect the runtime at all.

GoldsteinE commented 4 years ago

Yeah, I'm about tags extractor. Just saying there's a simpler way to parse tags — from tags file instead of txt file. /usr/share/vim/vim<version>/doc/tags for Vim.

heraldofsolace commented 4 years ago

I get it