Speed up IPC for windows users
This commit is contained in:
parent
272d8867af
commit
066119849d
1 changed files with 3 additions and 1 deletions
|
@ -291,7 +291,9 @@ users).")
|
||||||
;; Performance on Windows is considerably worse than elsewhere, especially if
|
;; Performance on Windows is considerably worse than elsewhere, especially if
|
||||||
;; WSL is involved. We'll need everything we can get.
|
;; WSL is involved. We'll need everything we can get.
|
||||||
(when IS-WINDOWS
|
(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
|
;; Remove command line options that aren't relevant to our current OS; means
|
||||||
;; slightly less to process at startup.
|
;; slightly less to process at startup.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue