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

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

Thread Previous | Thread Next
From:
Ilya Zakharevich
Date:
April 1, 2003 01:06
Subject:
Re: 5.8.1@19053: crypt_r() takes 128K per thread
Message ID:
20030401090646.GA4253@math.berkeley.edu
On Tue, Apr 01, 2003 at 10:03:47AM +0300, Jarkko Hietaniemi wrote:
> > The support of crypt_r() in a threaded perl allocates a struct
> > crypt_data in each interpreter.  This struct takes 128K;
> 
> ... in OS/2, that is.  Usually I've seen that to be in the range of
> few hundred bytes.  But, wow, anyway.  That's definitely a lot.  Maybe
> the IBM programmers took their task a bit too seriously :-)

I see; I'm using gfc for crypt().  Probably GNU people trade space for
speed here?  [Have no time to check the details...]

Ilya

Thread Previous | 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