fish-shell/src/builtins
Fabian Boehm 64927677c8 complete: Write each completion at once for --do-complete
This at least halves the number of "write()" calls we do if it goes to
a pipe or the terminal, or reduces them by 75% if there is a
description.

This makes

```fish
complete -c foo -xa "(seq 50000)"
complete -C"foo "
```

faster by 1.33x.
2022-09-22 22:41:35 +02:00
..
argparse.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
argparse.h
bg.cpp clang-format all C++ files 2022-08-21 15:02:19 -07:00
bg.h
bind.cpp builtin bind: highlight output. 2022-09-12 15:33:07 -07:00
bind.h IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
block.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
block.h
builtin.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
builtin.h
cd.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
cd.h
command.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
command.h
commandline.cpp clang-format all C++ files 2022-08-21 15:02:19 -07:00
commandline.h IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
complete.cpp complete: Write each completion at once for --do-complete 2022-09-22 22:41:35 +02:00
complete.h IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
contains.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
contains.h
disown.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
disown.h
echo.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
echo.h
emit.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
emit.h
eval.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
eval.h
exit.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
exit.h
fg.cpp clang-format all C++ files 2022-08-21 15:02:19 -07:00
fg.h
function.cpp clang-format all C++ files 2022-08-21 15:02:19 -07:00
function.h clang-format all C++ files 2022-08-21 15:02:19 -07:00
functions.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
functions.h
history.cpp clang-format all C++ files 2022-08-21 15:02:19 -07:00
history.h
jobs.cpp clang-format all C++ files 2022-08-21 15:02:19 -07:00
jobs.h
math.cpp Revert "Re-implement macro to constexpr transition" 2022-09-20 11:58:37 -07:00
math.h
path.cpp Revert "Re-implement macro to constexpr transition" 2022-09-20 11:58:37 -07:00
path.h IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
printf.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
printf.h IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
pwd.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
pwd.h
random.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
random.h
read.cpp Revert "Re-implement macro to constexpr transition" 2022-09-20 11:58:37 -07:00
read.h
realpath.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
realpath.h
return.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
return.h
set_color.cpp clang-format all C++ files 2022-08-21 15:02:19 -07:00
set_color.h IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
set.cpp clang-format all C++ files 2022-08-21 15:02:19 -07:00
set.h IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
source.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
source.h
status.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
status.h
string.cpp Revert "Re-implement macro to constexpr transition" 2022-09-20 11:58:37 -07:00
string.h
test.cpp clang-format all C++ files 2022-08-21 15:02:19 -07:00
test.h
type.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
type.h
ulimit.cpp Revert "Re-implement macro to constexpr transition" 2022-09-20 11:58:37 -07:00
ulimit.h IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
wait.cpp IWYU-guided #include rejiggering. 2022-08-20 23:55:18 -07:00
wait.h