For my programming project, I need to create a list of 65536 (2^16) lists which are again 65536 elements long. Each of the internal lists contain integers with two digits in hexadecimal. I was wondering if my machine could handle this very long nested list without any loss of value, let alone the running time.
I read a response on here, which says that sys.maxsize
gives the maximum size of a list, and my machine gives me 2147483647. However, does it follow from the fact that the maximum elements that can be stored in a list is 2147483647, it can store 65536 lists, although each of those lists are again 65536 elements long?