Al Mollenkopf wrote:

> working on a server/client that encrypts payloads (in chunks) for 
> transmission, trying to profile payloads prior to sending but puzzled by no 
> performance hit by adding compression.

> Question: Anyone have any insight why there virtually no loss of processing 
> performance when adding zlib compression to the process (perl is just that 
> good both bin and ascii)? 

Zlib compression is faster then (almost) any crypt algorithm. Moreover, 
Crypt::CBC is PP, Compress::Zlib is XS-based. No 
wonder that you found no performance hit when adding compression.

> am I just interpreting DProf results incorrectly?

No, you are correct.

-- 
Serguei Trouchelle
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to