The memory size of some std containers is underestimated, because the book-keeping overhead is not taken into account. I understand we cannot be 100% exact here, but should we try to consider some common std implementations and measure the mem size accordingly? For example, std::map is typically implemented as a red-black tree, which should add at least 2 pointers (or offsets) per entry into its memory size. -- https://code.launchpad.net/~zorba-coders/zorba/feature-mem_size/+merge/114764 Your team Zorba Coders is subscribed to branch lp:zorba.
-- Mailing list: https://launchpad.net/~zorba-coders Post to : firstname.lastname@example.org Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp