F
filox
i just don't get it:
hash_map<double, int> mapa;
double md = 0;
for(int j=0;j<1000000;++j)
{
mapa[md] = 3;
md++;
}
the above code takes up 70 MB of RAM. how??? any ideas?
hash_map<double, int> mapa;
double md = 0;
for(int j=0;j<1000000;++j)
{
mapa[md] = 3;
md++;
}
the above code takes up 70 MB of RAM. how??? any ideas?