From: Graham B. <gb...@po...> - 2000-07-27 10:04:35
|
On Thu, Jul 27, 2000 at 10:23:08AM +0100, Chris Ridd wrote: > Mark's already commented that one of the bottlenecks is Net::LDAP's use > of a perl module for decoding the BER (ie Convert::ASN1). Writing a > Convert::ASN1 in C is a way around this, but as yet no-one has > volunteered. I knew something was missing from my TODO list at TPC. Although I think Convert::ASN1 still needs a little work, so it may not be ready to convert to XS just yet. But if someone wants to try I would be happy to discuss my thoughts. > Another obvious issue with perl is that the first run of a piece of > code might be slow because it makes perl load in, parse and compile > lots more chunks of perl. Personally I always use the Benchmark module for timing something. Graham. |