ObjectIdDict does not allow pre-defined types...... wouldn't that affect the performance too?
On Tuesday, April 1, 2014 8:55:45 PM UTC+8, Isaiah wrote: > > You could try ObjectIdDict, which is specialized for this use case. > > > On Tue, Apr 1, 2014 at 6:51 AM, Freddy Chua <[email protected]<javascript:> > > wrote: > >> Just to add, the key is an object rather than the usual ASCIIString or >> Int64 >> >> >> On Tuesday, April 1, 2014 6:34:08 PM UTC+8, Freddy Chua wrote: >>> >>> I am using Dict to store my values. Since it is hash table, I thought >>> that the performance would remain fairly constant even as the dictionary >>> grows bigger. But this is not what I am experience at the moment. When the >>> size of my Dict grows, the cost of retrieval increases as well. Can someone >>> help me here??? I really need the dictionary to be fast... >>> >> >
