From owner-freebsd-current Wed Mar 13 19:47: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from corp4.cbn.net.id (corp4.cbn.net.id [202.158.3.28]) by hub.freebsd.org (Postfix) with ESMTP id 1803037B42B for ; Wed, 13 Mar 2002 19:46:31 -0800 (PST) Received: from dante.naver.co.id (unknown [202.158.82.9]) by corp4.cbn.net.id (Postfix) with ESMTP id 0BC135276 for ; Thu, 14 Mar 2002 10:46:21 +0700 (WIT) Received: by dante.naver.co.id (Postfix, from userid 1000) id 4F95A5B63C; Thu, 14 Mar 2002 10:45:25 +0700 (WIT) Date: Thu, 14 Mar 2002 10:45:25 +0700 From: John Indra To: freebsd-current@freebsd.org Subject: malloc() and the stock Perl in -CURRENT (and -STABLE) Message-ID: <20020314104525.B8244@office.naver.co.id> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer: Mutt 1.2.5.1i on FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear all... This morning I found a very interesting mail. All of you can see it from: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1669241+0+current/freebsd-questions As stated in the mail, a simple Perl script like this: -- Begin -- #!/usr/bin/perl $temp = ""; $begin = time; for ($i = 0; $i < 1000000; $i++) { $result .= "$i\n"; } print "Exec time: ", time - $begin, " secs\n"; -- End -- can show that there PROBABLY is something wrong with malloc() in -CURRENT and -STABLE. I am just bringing this to a wider audience so maybe this could be a valueable information for FreeBSD developer and Perl maintainer in FreeBSD. I heard that Perl in -CURRENT would be updated to Perl 5.6.1, maybe the maintainer can put the default build for this new version of Perl to use its own malloc (provided from Perl 5.6.1) IF it turns out that there is nothing wrong with malloc() in -CURRENT and -STABLE (I don't know cause I am not a C programmer)... Thanks... /john "I go, I fight, and I win!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message