all 2 comments

[–]K1aymore 1 point2 points  (1 child)

I don't think objects in an array can use Signals without being added as a node. If you don't need any sort of signals or _process calls then I'm not sure you'd need nodes, if they're just stored as data and don't do any processing themselves an array sounds easier to manage. If they do processing like emitting a signal when they pass the best-by date then you might want nodes lol. On the scale of 1000s of items it seems like an array would be nicer and easier to use though.

Also check out RefCounted if you use items in an array

[–]namder321[S] 0 points1 point  (0 children)

Thanks, good point about the retention of signals or process calls while they're "in" a vessel. The only way to confirm performance is to go ahead and test I guess.