develooper Front page | perl.perl5.porters | Postings from March 2003

5.8.1@19053: crypt_r() takes 128K per thread

Thread Next
From:
Ilya Zakharevich
Date:
March 31, 2003 13:12
Subject:
5.8.1@19053: crypt_r() takes 128K per thread
Message ID:
20030331211204.GA3727@math.berkeley.edu
The support of crypt_r() in a threaded perl allocates a struct
crypt_data in each interpreter.  This struct takes 128K; this is a very
significant part of the overhead of each new created interpreter.

Do we want such an overhead on a remote chance of crypt() being used?
Is not it better to allocate it JIT, or just create a mutex?

Ilya


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About