[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-ldap-dev
Subject:    Re: Equivalent operations between Net::LDAP and Mozilla::LDAP?
From:       Graham Barr <gbarr () pobox ! com>
Date:       2001-12-11 19:48:46
[Download RAW message or body]

On Tue, Dec 11, 2001 at 01:34:09PM -0600, lembark@wrkhors.com wrote:
> 
> 
> -- Graham Barr <gbarr@pobox.com> on 12/11/01 18:59:20 +0000
> 
> > $result->entry(0)->dn
> 
> For a large number of entries with no attribues, is
> this going to be any faster than keys %{ $msg->as_struct }?

Yes, because $msg->as_struct loops over the list and calls
->dn on each.

as_struct is there only to aid people coming from using Mozilla::LDAP,
it is not very efficient

Graham.

> 
> The current task is to dump an entire database so that the
> users can locate their usernames...
> 
> --
> Steven Lembark                              2930 W. Palmer
> Workhorse Computing                      Chicago, IL 60647
>                                            +1 800 762 1582
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic