diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-05-07 23:34:39 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-05-07 23:34:39 +0800 |
| commit | 2d1157ae0fc1c2bc3ad6ec20e64e2f8e8757524b (patch) | |
| tree | 286d89b016e9a315e95aee3d533fc417376d3ff0 | |
| parent | 5dbf91c920c64f47236771eec374eeea20838d88 (diff) | |
Document the dispatch_tree feature for O(n) to O(len) lookup
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | README.md | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e4adeff..583766d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,8 @@ fn proc(prev: HelloEntry) -> ChainProcess<ThisProgram> { } ``` +3. **\[mingling\]** Added the `dispatch_tree` feature. When enabled, it will automatically generate a prefix tree, improving the command lookup efficiency from O(n) to O(len) + #### **BREAKING CHANGES**: None @@ -252,7 +252,7 @@ You can read the following docs to learn more about the `Mingling` framework: - [x] \[[0.1.7](https://docs.rs/mingling/0.1.7/mingling/)\] Clap Parser Support - [x] core: \[[0.1.7](https://docs.rs/mingling/0.1.7/mingling/)\] Help System - [x] mling: \[[0.1.7](https://docs.rs/mingling/0.1.7/mingling/)\] Mingling-CLI Tool ( `mling` ) -- [ ] core: \[**0.1.8**\] Compile-Time Dispatcher Tree +- [X] core: \[[0.1.8](https://docs.rs/mingling/0.1.8/mingling/)\] Compile-Time Dispatcher Tree - [ ] \[**0.1.9**\] Helpdoc Generation - [ ] core: \[**0.1.9**\] Debug Toolkits ( `InvokeStackDisplay` ) - [ ] core: \[**0.2.0**\] REPL Mode ( `program.exec_repl();` ) |
