From 12951ad4d54c250bdeef408c27b4a34d1e42ed27 Mon Sep 17 00:00:00 2001 From: yichuan-w Date: Sat, 20 Dec 2025 01:25:43 +0000 Subject: [PATCH] docs: polish README performance tip section - Fix typo: 'matrilize' -> 'materialize' - Improve clarity and formatting of --no-recompute flag explanation - Add code block for better readability --- packages/leann-mcp/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/leann-mcp/README.md b/packages/leann-mcp/README.md index 356065d..cde8d29 100644 --- a/packages/leann-mcp/README.md +++ b/packages/leann-mcp/README.md @@ -53,6 +53,11 @@ leann build my-project --docs $(git ls-files) # Start Claude Code claude ``` +**Performance tip**: For maximum speed when storage space is not a concern, add the `--no-recompute` flag to your build command. This materializes all tensors and stores them on disk, avoiding recomputation on subsequent builds: + +```bash +leann build my-project --docs $(git ls-files) --no-recompute +``` ## 🚀 Advanced Usage Examples to build the index