Mario Lang <[EMAIL PROTECTED]> 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 _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel