From: Thien-Thi Nguyen <ttn@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Faster binary IO, please?
Date: 15 Sep 2005 16:18:25 -0400 [thread overview]
Message-ID: <jkd5na5bla.fsf@glug.org> (raw)
In-Reply-To: <87oe6ukwcz.fsf@lexx.delysid.org>
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:
(info "(elisp) Selecting a Representation")
(info "(elisp) Byte Packing")
these references are from cvs emacs. i know the latter doesn't exist,
and don't know about the former, for released elisp.info pages.
> (defun osc-insert-float32 (value) ...)
> (defun osc-read-float32 () ...)
presently, bindat.el doesn't (yet?) have floating-point support.
it would be cool if someone (perhaps you?) were to add that.
thi
next prev parent reply other threads:[~2005-09-15 20:18 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 [this message]
2005-09-16 1:03 ` Kenichi Handa
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jkd5na5bla.fsf@glug.org \
--to=ttn@gnu.org \
--cc=emacs-devel@gnu.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).