all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: mlang@delysid.org, emacs-devel@gnu.org
Subject: Re: Faster binary IO, please?
Date: Fri, 16 Sep 2005 10:03:14 +0900	[thread overview]
Message-ID: <E1EG4dG-0001hG-00@etlken> (raw)
In-Reply-To: <jkd5na5bla.fsf@glug.org> (message from Thien-Thi Nguyen on 15 Sep 2005 16:18:25 -0400)

In article <jkd5na5bla.fsf@glug.org>, Thien-Thi Nguyen <ttn@gnu.org> writes:

> Mario Lang <mlang@delysid.org> writes:
>>   1. possibly suggest a speedup in the functions as they are now
>>   2. implement some of them as a primitive in C

> i suggest making the buffer in which you operate "unibyte", arranging
> for the insertion of external data in the buffer (for example, in a
> subprocess output handler) to use the `raw-text' character encoding, and
> using bindat.el on the buffer for the (un)packing.  more info at:

Please note that raw-text is not for "binary" data because
raw-text does, for instance, CRLF -> LF conversion.  Use
`binary' (alias of `no-conversion') instead.

---
Kenichi Handa
handa@m17n.org

      reply	other threads:[~2005-09-16  1:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-15 18:40 Faster binary IO, please? Mario Lang
2005-09-15 19:14 ` David Kastrup
2005-09-15 20:18 ` Thien-Thi Nguyen
2005-09-16  1:03   ` Kenichi Handa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1EG4dG-0001hG-00@etlken \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=mlang@delysid.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.