From 066119849d69c7edbc3150cb6d6ee4d647009439 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 12 May 2020 04:53:27 -0400 Subject: [PATCH] Speed up IPC for windows users --- core/core.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/core.el b/core/core.el index 1ce4c6967..68422c0fe 100644 --- a/core/core.el +++ b/core/core.el @@ -291,7 +291,9 @@ users).") ;; Performance on Windows is considerably worse than elsewhere, especially if ;; WSL is involved. We'll need everything we can get. (when IS-WINDOWS - (setq w32-get-true-file-attributes nil)) ; slightly faster IO + (setq w32-get-true-file-attributes nil ; slightly faster IO + w32-pipe-read-delay 0 ; faster ipc + w32-pipe-buffer-size (* 64 1024))) ; read more at a time (was 4K) ;; Remove command line options that aren't relevant to our current OS; means ;; slightly less to process at startup.