Memory consumption of resource manager
- by Quang Anh
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?