[PD] Store data in memory more efficiently than in arrays

Roman Haefeli reduzent at gmail.com
Wed Jan 12 14:20:13 CET 2022


Hi

Sometimes I stored byte data (lists of bytes) in arrays. IIRC, I read
once in IRC that one value in a Pd-array requires not 4 bytes, but 8
bytes on 64-bit systems. Since storing plain bytes seems not such an
uncommon use case for me, I wonder if it can be done more efficiently.
Not that I ever hit a memory limit, I'm just curious. With the new
(amazing!) [file] object, dealing with byte lists has become even more
appealing, so the desire to store them in memory increases.


Roman


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220112/5a4cb315/attachment.sig>


More information about the Pd-list mailing list