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

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

Thread Previous
Jarkko Hietaniemi
April 1, 2003 01:26
Re: 5.8.1@19053: crypt_r() takes 128K per thread
Message ID:
On Tue, Apr 01, 2003 at 01:06:46AM -0800, Ilya Zakharevich wrote:
> 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...]

Yeah, seems like it (that it's GNU, not IBM here)...

> Ilya

Jarkko Hietaniemi <> "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen

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