On Wed, 7 Jun 2000, Perrin Harkins wrote:
> On Wed, 7 Jun 2000, Matt Sergeant wrote:
>
> > On Wed, 7 Jun 2000, Eric Cholet wrote:
> >
> > > This said, i hurry back to s/"constant strings"/'constant strings'/g;
> >
> > Those two are equal.
>
> Yes, although it's counter-intutive there's no real performance hit
> from double-quoting constant strings.
>
> The one that bugs me is when I see people doing this:
>
> $hash{"$key"}
>
> instead of this:
>
> $hash{$key}
Those two now also result in the same code. ;-)
But the former is just ugly.
--
<Matt/>
Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org
- [performance/benchmark] printing techniques Stas Bekman
- Re: [performance/benchmark] printing techniques Matt Sergeant
- Re: [performance/benchmark] printing techniques Stas Bekman
- Re: [performance/benchmark] printing techniques Eric Cholet
- Re: [performance/benchmark] printing techniq... Eric Strovink
- Re: [performance/benchmark] printing tec... Eric Cholet
- Re: [performance/benchmark] printin... Matt Sergeant
- [OT] Re: [performance/benchmark... Perrin Harkins
- Re: [OT] Re: [performance/b... Matt Sergeant
- Re: [OT] Re: [performance/b... Perrin Harkins
- Re: [OT] Re: [performance/b... Mike Lambert
- Re: [OT] Re: [performance/b... Matt Sergeant
- Re: [OT] Re: [performance/b... Doug MacEachern
- Re: [performance/benchmark] printing techniq... Matt Sergeant
- Re: [performance/benchmark] printing tec... Stas Bekman
- Re: [performance/benchmark] printing techniq... Barrie Slaymaker
- Re: [performance/benchmark] printing tec... Eric Cholet
- Re: [performance/benchmark] printin... Barrie Slaymaker
- Re: [performance/benchmark] printing techniques Jeff Norman
