On 29 March 2011 06:21, Manjit <manjit.si...@globaledgesoft.com> wrote: > Are we using any Hash Table or tree implementation in this ? or only list.
The original implementation used a simple linked list, and that's still the underlying mechanism, as far as I can tell. Since then, there's another lookup layer on top of this list, using the structure 'lookup_cache'. I wasn't involved in the development of this, so don't really have a feel for how it works, or what data structures are involved. The code can be found in agent/agent_registry.c, if you want to look at this in more detail. Dave ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders