I've read in many places that finding the size of a tuple in Elixir is really fast because tuples are stored in contiguous memory cells. However, for lists is more expensive to do because one needs to traverse the whole list to know the length of the list.
I don't understand how by being in contiguous memory cells, finding out the size of a tuple will be faster. Don't you have to go through each cell too?