fish-shell/src
Fabian Boehm 29af775390 abbr: Box the regex
The regex struct is pretty large at 560 bytes, with the entire
Abbreviation being 664 bytes.

If it's an "Option<Regex>", any abbr gets to pay the price. Boxing it
means abbrs without a regex are over 500 bytes smaller.
2024-02-28 18:48:24 +01:00
..
bin fish_indent: Collapse successive newlines 2024-02-27 16:25:01 +01:00
builtins abbr: Box the regex 2024-02-28 18:48:24 +01:00
env Remove obsolete no_mangle directives 2024-02-15 01:22:37 +01:00
fork_exec Remove using statements already imported by preludes 2024-02-28 09:41:51 -06:00
history Clean up some stale comments and restore libc usage in flog_safe 2024-01-21 12:03:56 -08:00
tests Remove now unused assert helpers 2024-02-22 20:10:16 +01:00
universal_notifier Move from libc read/write to nix read/write 2024-01-21 11:49:40 -08:00
widecharwidth Move fish-rust to project root 2024-01-13 03:58:33 +01:00
wutil Remove using statements already imported by preludes 2024-02-28 09:41:51 -06:00
abbrs.rs abbr: Box the regex 2024-02-28 18:48:24 +01:00
ast.rs ast: Box a large enum variant 2024-02-28 18:14:05 +01:00
autoload.rs Unify how file mode is specified 2024-01-28 18:09:52 -06:00
color.rs Fix some clippy warnings 2024-01-21 19:12:33 -08:00
common.rs Remove now unused assert helpers 2024-02-22 20:10:16 +01:00
complete.rs Only use fuzzy option completion if there is a leading - 2024-01-30 09:09:45 +01:00
curses.rs Add additional paths for NetBSD and Nix 2024-02-22 20:10:16 +01:00
editable_line.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
env_dispatch.rs Make term warning less shouty 2024-02-22 20:10:16 +01:00
env_universal_common.rs Remove using statements already imported by preludes 2024-02-28 09:41:51 -06:00
event.rs Remove L! from sprintf calls 2024-01-13 08:52:54 +01:00
exec.rs exec: Pass some cstrs as cstr instead of converting to ptr and back 2024-02-16 19:40:41 +01:00
expand.rs Add feature flag to turn off %self (#10262) 2024-02-06 22:13:16 +01:00
fallback.rs Make wcwidth an isize 2024-02-15 01:27:23 +01:00
fd_monitor.rs Remove using statements already imported by preludes 2024-02-28 09:41:51 -06:00
fd_readable_set.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
fds.rs Correct some comments and duplicative error messages 2024-02-11 12:16:58 -08:00
fish_test_helper.cpp Initial Rust commit 2023-02-02 19:34:47 -07:00
flog.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
function.rs Remove using statements already imported by preludes 2024-02-28 09:41:51 -06:00
future_feature_flags.rs Add feature flag to turn off %self (#10262) 2024-02-06 22:13:16 +01:00
future.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
global_safety.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
highlight.rs highlight: Stop copying pending variables 2024-02-16 19:40:41 +01:00
history.rs Remove using statements already imported by preludes 2024-02-28 09:41:51 -06:00
input_common.rs Stop crashing on invalid Unicode input 2024-02-27 22:59:49 +01:00
input.rs input: Resolve a TODO 2024-02-16 19:40:39 +01:00
io.rs Correct some comments and duplicative error messages 2024-02-11 12:16:58 -08:00
job_group.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
kill.rs Remove L! from sprintf calls 2024-01-13 08:52:54 +01:00
lib.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
libc.c Switch to the terminfo crate 2024-02-22 20:10:16 +01:00
libc.rs Remove uses of LC_GLOBAL_LOCALE 2024-02-01 22:15:24 +01:00
locale.rs Remove uses of LC_GLOBAL_LOCALE 2024-02-01 22:15:24 +01:00
nix.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
null_terminated_array.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
operation_context.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
output.rs Add unsafety warnings 2024-02-28 10:09:53 -06:00
pager.rs pager: Simplify some code 2024-02-28 18:34:57 +01:00
parse_constants.rs Remove L! from sprintf calls 2024-01-13 08:52:54 +01:00
parse_execution.rs Forbid subcommand keywords in variables-as-commands (#10249) 2024-02-06 22:12:55 +01:00
parse_tree.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
parse_util.rs Disallow background operator before && or || 2024-01-20 11:32:44 +01:00
parser_keywords.rs Remove widestring-suffix uses 2024-01-13 08:52:54 +01:00
parser.rs Add unsafety warnings 2024-02-28 10:09:53 -06:00
path.rs Fix build on NetBSD (#10270) 2024-01-28 21:45:14 +01:00
pointer.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
print_help.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
proc.rs clippy 2024-01-13 08:52:54 +01:00
re.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
reader_history_search.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
reader.rs Stop crashing on invalid Unicode input 2024-02-27 22:59:49 +01:00
redirection.rs Use nix OFlag for open_cloexec 2024-01-27 20:42:13 +01:00
screen.rs Stop crashing on invalid Unicode input 2024-02-27 22:59:49 +01:00
signal.rs Use cfg directly instead of going through features 2024-01-13 15:16:47 -06:00
termsize.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
threads.rs Switch to the terminfo crate 2024-02-22 20:10:16 +01:00
timer.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
tinyexpr.rs Remove widestring-suffix uses 2024-01-13 08:52:54 +01:00
tokenizer.rs Add # as a path component char 2024-01-28 10:41:15 +01:00
topic_monitor.rs Use OwnedFd in AutoClosePipes 2024-02-11 11:40:27 -08:00
trace.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
util.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
wait_handle.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
wchar_ext.rs Disallow background operator before && or || 2024-01-20 11:32:44 +01:00
wchar.rs Remove widestring-suffix uses 2024-01-13 08:52:54 +01:00
wcstringutil.rs Make wcwidth an isize 2024-02-15 01:27:23 +01:00
wgetopt.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
wildcard.rs Remove using statements already imported by preludes 2024-02-28 09:41:51 -06:00