Re: XMas printing benchmark

2001-01-12 Thread Stas Bekman
On Wed, 27 Dec 2000, Gunther Birznieks wrote: > I don't completely understand the purpose of this benchmark. > > Are you testing string operations or print operations? Currently it seems > as if the two are being tested together which doesn't necessarily provide > the most meaning in the result.

Re: XMas printing benchmark

2000-12-29 Thread Perrin Harkins
On Fri, 29 Dec 2000, Alexander Farber (EED) wrote: > Why? With <

[OT] Here document indenting (Was: XMas printing benchmark)

2000-12-29 Thread Andrew Ho
Hello, DC>(my $text =<<'foo') =~ s/^\s+://mg; DC>:Hello, World! DC>: http://foo.org/">I am an indented link. DC>: So am http://bar.org/">I. DC>foo DC>print $text; This, and other methods (without the beginning colon, for example) are discussed in rec

Re: XMas printing benchmark

2000-12-29 Thread darren chamberlain
How about this: ### Code: (my $text =<<'foo') =~ s/^\s+://mg; :Hello, World! : http://foo.org/">I am an indented link. : So am http://bar.org/">I. foo print $text; ### Output: Hello, World! http://foo.org/">I am an indented link. So am http:/

Re: XMas printing benchmark

2000-12-29 Thread Alexander Farber (EED)
Ron Beck wrote: > > Since when??? > > I've always done... > print<<"end_o_doc"; > ... > Problems with this??? > Ron I mean indenting code, not data. > "Alexander Farber (EED)" wrote: > > Why? With < > > > my @text = ( > > "\n", > > "\n", > > " \n", > > "\n", > > "

Re: XMas printing benchmark

2000-12-29 Thread Ron Beck
Since when??? I've always done... print<<"end_o_doc"; Individual Requesting the Service: (Person filling out this form) Requestor's Name Requestor's Employee # Requestor's Phone Requestor's E-mail Address

Re: XMas printing benchmark

2000-12-29 Thread Alexander Farber (EED)
Perrin Harkins wrote: > I know it's not the point, but I'd consider it poor style if I saw someone > using anything other than a <\n", "\n", " \n", "\n", " Test page\n",

Re: XMas printing benchmark

2000-12-26 Thread Perrin Harkins
I know it's not the point, but I'd consider it poor style if I saw someone using anything other than a <

Re: XMas printing benchmark

2000-12-26 Thread Gunther Birznieks
I don't completely understand the purpose of this benchmark. Are you testing string operations or print operations? Currently it seems as if the two are being tested together which doesn't necessarily provide the most meaning in the result. For example, is it the string concatenation that is s

Re: XMas printing benchmark

2000-12-26 Thread Ask Bjoern Hansen
On Tue, 26 Dec 2000, Stas Bekman wrote: > Your comments are welcome. your benchmark shows that it is really hard to screw up so much that it actually matters and that there *always* will be somewhere else in the application where there's more performance to be won. :-) - ask -- ask bjoern

XMas printing benchmark

2000-12-26 Thread Stas Bekman
Something like half a year ago I've posted a benchmark of different printing techniques. Only now I've absorbed all the comments and here is a new benchmark based on these comments. use Benchmark; use Symbol; my $fh = gensym; open $fh, ">/dev/null" or die; my @text = ( "\n",