The function alloc_sizeof( rstring<RepType> const &s ) does not count the 
book-keeping overhead for the various kinds of strings. For example, the 
default rep (which is used for zstrings) adds 12 bytes oberhead (on 32-bit 
machines). Also, I think the null-terminating byte is not counted.
-- 
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     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to