Hi, I was very wondering while using GP. Some blocks are returning "array" elements and other "list".
Are there any differents? Why is that so?
differents between ARRAYS and LISTS?
Moderator: MSandro
Re: differents between ARRAYS and LISTS?
Here's what John said about them on a different thread:
It seems as though they're needed to implement things internally, but aren't actually intended to be visible to the user. My bet is that in the future, this type of data won't even exist anymore (at least as far as the user can see!).
(original thread can be found here)Array is a low-level, fixed size data structure that's needed to implement lists, dictionaries, tasks, and other things, but it doesn't need to be visible until the user digs deeper into the implementation of the system. I'll fix map and filter. (I'm sure there are other cases were "arrays" get returned; I'll clean those up as they arise.)
It seems as though they're needed to implement things internally, but aren't actually intended to be visible to the user. My bet is that in the future, this type of data won't even exist anymore (at least as far as the user can see!).
Re: differents between ARRAYS and LISTS?
Thank you very much for the quick reply.