I want to implement my own Hashtable.Add method in Collections using
unmanaged code.
Following is a trace from a small program using .NET's Add method:
Entering System.Collections.Hashtable::Add ([0x80bd730] [0x80bd788] )
Entering System.Collections.Hashtable::PutImpl ([0x80bd730] [0x80bd788]
[0] )
Entering System.Collections.Hashtable::GetHash ([0x80bd730] )
Entering System.Collections.Hashtable::get_hcp ()
Leaving System.Collections.Hashtable::get_hcp
Entering System.String::GetHashCode ()
Leaving System.String::GetHashCode
Leaving System.Collections.Hashtable::GetHash
Leaving System.Collections.Hashtable::PutImpl
Leaving System.Collections.Hashtable::Add
What are some of the things I have to know to implement the Add method?
Any internal interfaces that I don't have access to
Any access to string pool
Performance bottlenecks with getObject or any others
etc.
Any references to books or URL is highly appreciated.
thanks,
Guru