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

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

Thread Next
Ilya Zakharevich
March 31, 2003 13:12
5.8.1@19053: crypt_r() takes 128K per thread
Message ID:
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?


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About