unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs (Windows version) slow when transferring large amount of text over pty or pipe
@ 2014-10-11 19:04 speech.free
  2014-10-12  1:11 ` Alexis
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: speech.free @ 2014-10-11 19:04 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-12  4:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-11 19:04 Emacs (Windows version) slow when transferring large amount of text over pty or pipe speech.free
2014-10-12  1:11 ` Alexis
2014-10-12  1:43 ` speech.free
     [not found] ` <mailman.11020.1413079847.1147.help-gnu-emacs@gnu.org>
2014-10-12  4:53   ` speech.free

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).