I am currently designing a website in C#, which uses some very complex code to generate a search list, which I am currently designing as a Tree-like structure.
The main reason I am using a tree is the fact that this website is high-traffic and has a very complex search filter, which means scalability is very important, however I am worried that the memory requirements of the tree may outweigh the effective processing requirements of simply recalculating values every time.
Does anyone know of a reliable way to measure the size of a dictionary in C#? The Marshal.SizeOf() method will not allow this as the code is not unmanaged.
Cheers, Ed