F
filox
first of, i'd like to excuse myself for writing in this group, even though i
know this is not a standard C++ question. i've written to
microsoft.public.dotnet.lang.vc but no one seems to be answering me, and
it's pretty urgent.
any way, i have something like this:
hash_map<double, int> mapa;
double md = 0;
for(int j=0;j<1000000;++j)
{
mapa[md] = 3;
md++;
}
as you can see, i'm simply trying to hash a lot of data. my problem is that
this uses up 70 MB of memory,which seems to me a bit too much. any ideas
what went wrong?
again, sorry for being offtopic
know this is not a standard C++ question. i've written to
microsoft.public.dotnet.lang.vc but no one seems to be answering me, and
it's pretty urgent.
any way, i have something like this:
hash_map<double, int> mapa;
double md = 0;
for(int j=0;j<1000000;++j)
{
mapa[md] = 3;
md++;
}
as you can see, i'm simply trying to hash a lot of data. my problem is that
this uses up 70 MB of memory,which seems to me a bit too much. any ideas
what went wrong?
again, sorry for being offtopic