Mario Lang <[EMAIL PROTECTED]> 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



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to