so i whipped up a quick test program that created 100000 string objects
and assigned them the same literal value... used about 15 megs of
memory. also tried assigning them the same string value as in:
string foo = "Hello, this is a test of the string memory management in
the STL.";
for(int i = 0; i < 100000; i++)
{
string* s = new string;
*s = foo;
}
this also took about 15 megs...
so this begs the question of why the memory patch by chris made such
little difference. I would expect for a large catalog that it would
really make a difference.
elrod
_______________________________________________
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev