How much overhead does std::vector have?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, In my program I have huge data sets(about 100,000,000 integers) and I was wondering how much memory overhead it has? For a 32bit integer array of size 100,000,000 x 4bytes = 400MB memory is just needed for the data set. How much std::vector in Windows would add to that? How about in Windows for x64? Thanks! Rob