Chas. Owens wrote:
> On Tue, Aug 10, 2010 at 11:43, Ron Bergin <[email protected]>
> wrote:
> snip
>>    my $BDtsSQLdate =
>> "$Byear$Bmon$Bmday$Bhour$Bmin$Bsec";
> snip
>
> I seem to recall reading something on p5p recently about
> string
> concatenations being slower on Win32 machines for some
> reason.  Since
> that line is really six string concatenations, you may be
> better off
> using join:
>
> my $BDtsSQLdate = join "", $Byear, $Bmon, $Bmday, $Bhour,
> $Bmin, $Bsec;

That didn't have any appreciable difference.

>
> You might also try profiling the slow subroutine with
> Devel::NYTProf
> to find what is slower between Linux and Win32.
>

That sounds like a good idea.


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to