Re: Optimizing NSSTrustDomain_TraverseCertificates() of nss package

2016-03-08 Thread David Woodhouse
On Tue, 2016-03-08 at 18:22 +0530, varun naganathan wrote: > I'm currently working to migrate the storage of certs to a hash table > rather than a linked list which provides lookups at O(1) rather than > the present lookup of O(n). > > The details of this behavior can be found in > https://bugzilla

Optimizing NSSTrustDomain_TraverseCertificates() of nss package

2016-03-08 Thread varun naganathan
Hi all, I've currently been working on optimizing the nss package functions like NSSTrustDomain_TraverseCertificates() which can be seen at https://dxr.mozilla.org/mozilla-central/source/security/nss/lib/pki/trustdomain.c?from=NSSTrustDomain_TraverseCertificates#988 and nssPKIObjectCollection_AddIn