[CM] Fastest way to copy scheme variables into a shared buffer?
Elijah Stone
elronnd at elronnd.net
Sat Jan 22 06:22:51 PST 2022
> Yes, but I don't see the need. If the s7_cell space is made available
> to the user, I lose any flexibility in using that space later
I was imagining: #define S7_C_OBJECT_VALUE_SIZE, user either ensures their
junk fits in that or indirects. Well, Hyrum's law applies, and I guess it
is a little fragile, but certainly doable.
> Why can't you use a C struct or array, or an s7 vector or list as the
> value, and store any number of things through the value field?
I am irrationally fearful of allocations, pay me no mind :)
-E
More information about the Cmdist
mailing list