[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs (Windows version) slow when transferring large amount of text
From: |
speech . free |
Subject: |
Re: Emacs (Windows version) slow when transferring large amount of text over pty or pipe |
Date: |
Sat, 11 Oct 2014 18:43:26 -0700 (PDT) |
User-agent: |
G2/1.0 |
Someone on Reddit has pointed out this bug:
http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-10/msg00159.html
My delay largely went away after I (setq w32-pipe-read-delay 0).
On Saturday, October 11, 2014 12:04:33 PM UTC-7, speec...@gmail.com wrote:
> I am debugging a clang based completer. The completer running as a
> sub-process sends a large amount of text (about 1.8M) to emacs over a pty or
> pipe connection. The emacs connection buffer is about 4k, as seen from
> logging, that is the process filter is called for every 4k of text. The text
> is inserted into the process buffer and accumulated there and an EOT string
> is repeatedly searched for. Receiving the whole transfer takes close to 30
> seconds, rendering the completer useless. The same problem is not seen on
> Linux. Any suggestion on why this is and how to deal with it? I have GNU
> Emacs 24.3.1 (i386-mingw-nt6.2.9200)
>
> of 2013-03-17 on MARVIN.