Question about pointers and scalars

Jean-Yves Gratius <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
Hi,

I wonder why, in data structures, deleting a scalar invalidates all
pointers to any other scalar in the same canvas.

Is this a design choice ?

I'm asking this because I planned to use pointers inside abstractions to
handle scalars in a patch, for example for making them move.

But may be I'm wrong, because if every time a scalar is deleted all
[pointer]s have to [traverse( the patch to retrieve the scalar they
pointed to, it seems not so optimized.

Thanks in advance

Regards

JYG


---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/KVZQ3VBBJNV5LHEBZNMKLTUS7AF2HJX7/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.