From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Faster binary IO, please?
Date: Thu, 15 Sep 2005 21:14:46 +0200 [thread overview]
Message-ID: <85mzme2leh.fsf@lola.goethe.zz> (raw)
In-Reply-To: <87oe6ukwcz.fsf@lexx.delysid.org> (Mario Lang's message of "Thu, 15 Sep 2005 20:40:44 +0200")
Mario Lang <mlang@delysid.org> writes:
>
> Through the last 4 years of Emacs Lisp coding, I've come across the need
> to read and/or write binary data from time to time. Mostly when doing
> network process IO, but recently also reading binary data from a buffer.
> I've managed to solve all obstacles so far, and wrote the necessary
> utility functions to read all sorts of binary data types. However,
> these tricks in elisp space imply slow code, and since these are IO
> functions, the slowness really counts. This mail is basically a plea
> for some improvement in Emacs regarding binary IO. I know we operate
> on textual data 99% of the time, but at times, it is just necessary
> to operate on binary data if one wants to keep Emacs as the wonderful
> and generic working environment that it is.
>
> Below are all the binary data IO functions I've had to write so far.
> If you could have a look please and:
> 1. possibly suggest a speedup in the functions as they are now
> or
> 2. implement some of them as a primitive in C
Have you taken a look at define-ccl-program? You could probably do
quite a bit of processing with that.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2005-09-15 19:14 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 [this message]
2005-09-15 20:18 ` Thien-Thi Nguyen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85mzme2leh.fsf@lola.goethe.zz \
--to=dak@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 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.