You could try printing timestamps immediately before and after the LDAP access - this would help to confirm the location of the (suspected) bottleneck...
In reply to Re: Optimize my code with Hashes
by Bloodnok
in thread Optimize my code with Hashes
by sukhicool
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |