mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Reduce GNU Make latency 17% for cosmo
fgets() is now 4x faster which makes Make 2% faster. Landlock Make now has a builtin $(uniq ...) function that uses critbit trees rather than functional programming. Since uniq is the most important function this optimization makes our cold start latency 15% faster.
This commit is contained in:
parent
8835b82a7c
commit
d76dfadc7a
7 changed files with 96 additions and 11 deletions
1
third_party/make/commands.c
vendored
1
third_party/make/commands.c
vendored
|
@ -520,6 +520,7 @@ fatal_error_signal (int sig)
|
|||
if (sig == SIGTERM || sig == SIGINT
|
||||
|| sig == SIGHUP
|
||||
|| sig == SIGQUIT
|
||||
|| sig == SIGPIPE
|
||||
)
|
||||
{
|
||||
struct child *c;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue