Skip to main content

Lag when entering wiki links

Completed

Comments

2 comments

  • Fletcher Penney

    Currently the wiki completion reindexes when called, which is obviously slower when there are that many notes.

     

    I'll cache the results and only reindex (which is necessary to detect whether files have been changed on disk) less frequently.  For now, it will only update the completion data every 10 seconds (at most).  This can be tweaked later, but increasing the delay too much increases the chances that a new file won't be available when you try to type it.

     

    (This is different than the content indexing that occurs for the notes list, and simply involves updating the autocompletion index based on the file index.  It is much faster.)

    0
  • Fletcher Penney

    (Thanks for pointing this out, BTW!)

    0

Please sign in to leave a comment.

Powered by Zendesk