Memory consumption of resource manager
Posted
by Quang Anh
on Stack Overflow
See other posts from Stack Overflow
or by Quang Anh
Published on 2010-05-28T11:41:02Z
Indexed on
2010/05/28
11:41 UTC
Read the original article
Hit count: 294
I'm writing a resource manager, which is required to be fast and has small memory foot-print. For example, I have an resource class
class Abc
{
string m_name;
string m_path;
string handle;
void SomeFunctions();
}
And so on. Now I create and List> and add 5000 items to it. How much memory will it consume? One more question: Can I find items base on handle number only, which is the int part of the Tuple?
© Stack Overflow or respective owner