Local fork of continuedev/continue for auto-approve and full-access mode experiments
Find a file
Rob Leidle 0fa0c3bcbd
Simplify walkDir(...) and improve performance by roughly 10x in larger repos (#1806)
The performance of WalkDir is improved by replacing the recursive DFS
with a stack based implementation (less memory in-use during peak
exploration). In addition, some unnecessary flags and options were
removed which allowed the code to be overall simplified. Much less rule
matching is occuring with the same files returned.

Some performance results on my linux host:

small repo:
- 649 files returned by walkDir()
- 9 .gitignore files
- walkDir() old vs new duration: 918 ms to 143 ms

medium sized repo:
- 9271 returned by walkDir()
- 35 .gitignore files
- walkDir() old vs new duration: 10,886 ms to 970ms

large sized repo:
- 197,900 files returned by walkDir()
- 929 .gitignore files
- walkDir() old vs new duration: 498,151 ms to 37,353 ms

Co-authored-by: Rob Leidle <rleidle@tesla.com>
2024-07-22 19:33:58 -07:00
.changes changelog 2024-07-02 19:19:45 -07:00
.github jetbrains build update 2024-07-16 13:10:51 -07:00
.idea 🧑‍💻 improved IntelliJ development docs 2024-05-24 14:16:21 -07:00
.prompts Tests for indexing + follow all .gitignore syntax (#1661) 2024-07-03 23:41:43 -07:00
.vscode Dev (#1740) 2024-07-16 11:07:31 -07:00
archive 🚚 move Python server to legacy-python-server repo 2024-01-19 08:47:15 -08:00
binary Index on file change (#1785) 2024-07-22 13:22:55 -07:00
core Simplify walkDir(...) and improve performance by roughly 10x in larger repos (#1806) 2024-07-22 19:33:58 -07:00
docs docs: change page heading to model providers (#1684) 2024-07-22 13:13:05 -07:00
extensions Add Pause Codebase On Start setting (#1788) 2024-07-22 14:19:49 -07:00
gui Add a Delete Message button to the StepContainer (#1790) 2024-07-22 15:39:49 -07:00
media 🧑‍💻 improved IntelliJ development docs 2024-05-24 14:16:21 -07:00
packages Merge branch 'dev' of https://github.com/continuedev/continue into dev 2024-07-20 10:23:47 -07:00
scripts dev (#1542) 2024-06-28 16:21:36 -07:00
sync Preview (#1114) 2024-04-12 11:54:58 -07:00
.changie.yaml dev (#1542) 2024-06-28 16:21:36 -07:00
.continueignore fix formatting err in out .continueignore 2024-07-05 22:44:01 -07:00
.gitignore Preview (#1430) 2024-06-06 00:33:53 -07:00
.nvmrc 💫 Preview (#996) 2024-03-19 10:35:28 -07:00
.prettierignore Nate/better retrieval (#1677) 2024-07-05 22:40:19 -07:00
.prettierrc ⚡️ Preview (#1228) 2024-05-03 14:05:25 -07:00
biome.json 🚢 Preview (#1355) 2024-05-24 22:39:22 -07:00
CHANGELOG.md 📝 update changelog 2024-04-12 16:04:47 -07:00
CONTRIBUTING.md dev (#1542) 2024-06-28 16:21:36 -07:00
LICENSE Create LICENSE 2023-06-03 09:29:19 +02:00
README.md messaging iteration 2 (#1480) 2024-06-13 18:37:42 -07:00

Continue logo

Continue

Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains

Easily understand code sections

understand

VS Code: cmd+L (MacOS) / ctrl+L (Windows)

JetBrains: cmd+J (MacOS) / ctrl+J (Windows)

Tab to autocomplete code suggestions

autocomplete

VS Code: tab (MacOS) / tab (Windows)

JetBrains: tab (MacOS) / tab (Windows)

Refactor functions where you are coding

inline

VS Code: cmd+I (MacOS) / ctrl+I (Windows)

JetBrains: cmd+I (MacOS) / ctrl+I (Windows)

Ask questions about your codebase

codebase

VS Code: cmd+enter (MacOS) / ctrl+enter (Windows)

JetBrains: cmd+enter (MacOS) / ctrl+enter (Windows)

Quickly use documentation as context

docs

VS Code: @docs (MacOS) / @docs (Windows)

JetBrains: @docs (MacOS) / @docs (Windows)

Getting Started

Download for VS Code and JetBrains

You can try out Continue with our free trial models before configuring your setup.

Learn more about the models and providers here.

Contributing

Check out the contribution ideas board, read the contributing guide, and join #contribute on Discord

License

Apache 2.0 © 2023 Continue Dev, Inc.