nushell/crates/nu-cli/src
Kither d6f4e4c4fe
Improve completer (#14004)
This pr does two optimization for the completer:
- Switch `sort_by` to `sort_unstable_by` on `sort_completions` function
since it reduces memory allocation and the orders of the identical
completions are not matter.
- Change `prefix` type from `Vec<u8>` to `&[u8]` to reduce cloning and
memory.
2024-10-06 20:31:37 +02:00
..
commands Use IntoValue in config code (#13751) 2024-09-05 09:44:23 +02:00
completions Improve completer (#14004) 2024-10-06 20:31:37 +02:00
menus Replace raw usize IDs with new types (#13832) 2024-09-30 13:20:15 +02:00
config_files.rs Set current working directory at startup (#12953) 2024-09-25 13:04:26 -05:00
eval_cmds.rs Error on non-zero exit statuses (#13515) 2024-09-07 06:44:26 +00:00
eval_file.rs Error on non-zero exit statuses (#13515) 2024-09-07 06:44:26 +00:00
lib.rs Set current working directory at startup (#12953) 2024-09-25 13:04:26 -05:00
nu_highlight.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
print.rs Fix non-zero exit code errors in middle of pipeline (#13899) 2024-10-02 06:04:18 -05:00
prompt_update.rs Make get_env_var return a reference to a Value (#13987) 2024-10-02 13:05:48 +02:00
prompt.rs Make get_env_var return a reference to a Value (#13987) 2024-10-02 13:05:48 +02:00
reedline_config.rs Consistent default key bindings for ide_completion_menu (#13955) 2024-10-04 06:54:37 -05:00
repl.rs update osc_633 string escaping (#14008) 2024-10-05 10:03:01 -05:00
syntax_highlight.rs Overhaul $in expressions (#13357) 2024-07-17 16:02:42 -05:00
util.rs Error on non-zero exit statuses (#13515) 2024-09-07 06:44:26 +00:00
validation.rs Remove old alias implementation (#8797) 2023-04-07 21:09:38 +03:00