develooper Front page | perl.perl6.internals | Postings from September 2002

Re: [perl #16855] [PATCH] uselessly optimize print()

Thread Previous
From:
Mike Lambert
Date:
September 6, 2002 00:27
Subject:
Re: [perl #16855] [PATCH] uselessly optimize print()
Message ID:
Pine.LNX.4.44.0209060326090.30589-100000@jall.org
> > In tracking down a gc bug, I realized that the current throwaway
> > implementation of the print op could be replaced with a faster
> > throwaway implementation that avoids doing a string_to_cstring.
> >
> > Note that both the original and new implementations are still buggy
> > with respect to supporting different encodings. I don't know if
> > printf("%s") is any better than fwrite in terms of at least vaguely
> > paying attention to your locale or whatever. If so, don't apply it.
> >
> > (all tests pass)

Applied, thanks,

Mike Lambert


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About