Damus
slembcke · 7w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqykddq7nmfd8cd0hupl8fnsmmuhtg55zusm6de4fjecmrhsx4x97qx8hm63 Well, yes but also no. I use them all the time for “cold” lists that get iterated ...
Stefan Reinalter profile picture
@nprofile1q... @nprofile1q... Yep.
E.g. game objects on a map store an intrusive linked list of triggers using indices, which is used for not having something silly like an std::vector per object, and for trivial serialization. These triggers fire when a certain event happens.

The actual bulk of the work is done in the map's Tick() though, where I iterate through the array of triggers and evaluate them.
2
Erin Catto · 7w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq63s862uct8qexxv2f84q6caf6fatzfvpucs2pa48cu3wnupddp7q9wvzdm nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqz9myc59yadhemq6s3mpsugrdzzfqr55c582tedltugukfwhgtn5se7valu nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqykddq7nmfd8cd0hup...
Jeslas · 7w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq63s862uct8qexxv2f84q6caf6fatzfvpucs2pa48cu3wnupddp7q9wvzdm nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqz9myc59yadhemq6s3mpsugrdzzfqr55c582tedltugukfwhgtn5se7valu nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqykddq7nmfd8cd0hup...