A packed array is a read-only array that has a fairly compact representation and will not be traversed by the GC. It's designed for cases where you might construct a very large array once and then read from it many times. Array access is reasonably efficient. Be warned, however, that construction can be excruciatingly slow and might even perform many intermediate allocations, depending on the type of array.
the representation of a packed array of tuples is a tuple of packed arrays. This makes
the zip_exn
and unzip
functions constant time.