Perl 5.8.1 RC5 is Out

pudge on 2003-09-23T16:34:00

jhi writes "Hopefully the last Release Candidate of 5.8.1 has been released. Get the source code distribution or read the perldelta. Unless something serious is found in a few days, the final 5.8.1 will soon be released. The RC4 was out there for seven weeks or thereabouts, so nothing too horrible is to be expected. (Famous last words?)"


5.8.1 is *not* slow on FreeBSD

nik on 2003-09-24T08:33:51

Looks like a bug in perldelta. I just sent the following to Jarkko.

---
Jarkko,

I've spotted a possible bug in perldelta for 5.8.1-RC5 (obtained from http://search.cpan.org/src/JHI/perl-5.8.1-RC5/pod/perldelta.pod).

It says:

        =head2 FreeBSD: malloc dilemma

        The choice of malloc (the C-level memory management interface)
        when building Perl is problematic in FreeBSD.

        Using FreeBSD's system malloc for Perl was found to be very slow:
        in some cases that was 200 times slower than using the Perl malloc.
        One such case is file input: for example

According to a post on the freebsd-hackers mailing list, this problem
has been resolved, and perldelta's out of date:

        http://lists.freebsd.org/pipermail/freebsd-hackers/2003-September/003063.html

        From: Enache Adrian

        On Tue, Sep 09, 2003 a.d., Yusuf Goolamabbas wrote:
        > # slurping the whole compressed Perl source code into $a
        > if (open F,"perl-5.8.1.tar.gz") { local $/; $a= }

        I fortunately fixed that in perl 5.8.1, so when "slurping" regular files
        the buffer is no longer grown by little steps with realloc.

        Regards,
        Adi

It looks as though a patch for this was made, but didn't make it in to RC5.

        http://groups.google.com/groups?selm=200309240045.h8O0j5Hm009489%40smtp3.ActiveS tate.com&oe=UTF-8&output=gplain

I'd be grateful if you could update this before 5.8.1-release.

Thanks,
---

N

now fixed

jhi on 2003-09-24T10:28:12

The patch made it to RC5, the change to perldelta did not.