6 Nov
2008
6 Nov
'08
9:27 p.m.
Michael Fawcett
I investigated the node structure that my std::map implementation is using. It has an overhead of 3 pointers and 2 chars. This is with Visual Studio 2005 SP1.
Are you building in release with _SECURE_SCL #defined to 0? If not, you have extra size overhead from debug and/or checked iterators being enabled. See the following links for more information: http://msdn.microsoft.com/en-us/library/aa985965.aspx http://msdn.microsoft.com/en-us/library/aa985982.aspx