Arc Forumnew | comments | leaders | submitlogin
4 points by almkglor 5879 days ago | link | parent

2) In theory, the length of the vector could be stored by the memory manager anyway (possibly as a start and end address), which after all has to know how big to deallocate when the vector is GC'ed. In fact if the metadata is interspersed with the allocated memory it probably will be just a length, since the current address is known.