develooper Front page | perl.perl6.language.io | Postings from September 2000

Re: RFC 39 (v3) Perl should have a print operator

From:
Bart Lateur
Date:
September 8, 2000 01:57
Subject:
Re: RFC 39 (v3) Perl should have a print operator
Message ID:
88ahrs8jch6t9enn5l7ou6dl08g7bf1kgv@4ax.com
On Fri, 8 Sep 2000 01:18:19 -0700 (PDT), Ask Bjoern Hansen wrote:

>I really don't understand why you want to have what's printed.

It is handy, sometimes.

But I do think that the overhead of creating a longish string every time
you print something, which is then simply discarded, is not really
acceptable. I expect a rather significant slowdown. A rough guess: 20%,
which that is the slowdown I onotice if you print with $\ set to "\n"
instead of to nothing. It's just not worth it.

-- 
	Bart.



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