Re: I wonder if I'm missing something...
"David McClain (as dbm at refined-audiometrics dot com)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <[email protected]> |
Yes, essentially… but TYPED-AREF doesn’t allow me to READ-SEQUENCE from a byte stream. A TYPED-AREF object is really an array of double-float underneath. > On Nov 7, 2025, at 06:54, Yuri Davidovsky (as work at disclosure dot ie) <[email protected]> wrote: > > >> On 7 Nov 2025, at 14:38, David McClain (as dbm at refined-audiometrics dot com) <[email protected]> wrote: >> >> I keep running into the need to overload vectors for I/O purposes, where the I/O channel only works in units of octets, but my data is actually vectors of single-precision floats. > > Aren't you talking about typed aref, essentially? > > https://www.lispworks.com/documentation/lw80/lw/lw-sys-92.htm > > Also I would imagine it should also be trivial to do using FLI, although I think typed aref is easier still. > > _______________________________________________ > Lisp Hug - the mailing list for LispWorks users > [email protected] > http://www.lispworks.com/support/lisp-hug.html _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html