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

[perl #36078] Newz() used gratuitously

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
March 30, 2012 17:58
Subject:
[perl #36078] Newz() used gratuitously
Message ID:
rt-3.6.HEAD-4610-1333155515-251.36078-15-0@perl.org
On Sun Oct 09 15:38:27 2005, nicholas wrote:
> 
> On 2 Oct 2005, at 11:00, Steve Peters via RT wrote:
> >> We should audit the perl source for all uses of Newz(), to see which
> >>    are
> >> wasteful. In many cases we don't need to explicity memzero any of the
> >> freshly allocated memory, as the subsequent code writes to every
> >>    location
> >> in it. For example:
> >
> 
> > It looks like Newz() is gone from the core, mainly replaced with
> > Newxz(), it appears.  Shoule Newxz() be investigated instead?
> >
> Yes, good point.
> 
> Nicholas Clark
> 

Is an audit of Newxz() still needed?  (We've apparently lived without it
for seven years. :-) ) 

Thank you very much.
Jim Keenan


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=36078

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