|
As I pointed out previously, the overhead is a single 64-bit integer per table. Although this might imply an 8 byte overhead, in fact this is free on all major platforms that I know of (Windows, Linux, iOS, Android) since the granularity of heap allocation means that there is no additional memory allocation at all. So there is no overhead at all, apart from setting a C integer to zero when a table is allocated. Nor is there overhead when adding/deleting table keys (even integer keys). Why do you think a VM redesign is necessary ? —Tim |