Skip to content

Commit 3c82531

Browse files
chore(doc): auto generate docs
1 parent 457c93e commit 3c82531

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

doc/phoenix.nvim.txt

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -36,26 +36,6 @@ the results, and the completion results can be obtained in O(1) time.
3636
Meanwhile, the cache is cleaned up based on a set time period to ensure that
3737
the directory status is kept synchronized.
3838

39-
Specifically:
40-
41-
1. Word Completion:
42-
43-
- Use a Trie tree to store words, with each node representing a character.
44-
- Each word node stores the usage frequency and last usage time of the word.
45-
- During completion, search the Trie tree for matching words based on the input
46-
prefix, and return the results sorted by weight.
47-
- Periodically clean up low-frequency words asynchronously to keep the Trie tree
48-
size within a reasonable range.
49-
50-
1. Path Completion:
51-
52-
- Use an LRU cache to store directory structure information, including files
53-
and subdirectories in the directory.
54-
- During completion, directly look up the matching path in the cache, and obtain
55-
the result in O(1) time.
56-
- Periodically sync the cache to ensure that the directory status is kept
57-
synchronized.
58-
5939

6040
USAGE *phoenix.nvim-phoenix-usage*
6141

0 commit comments

Comments
 (0)