Re: DateTime speed differences between perl 5.80 and 5.8.8?

[email protected] ("Tatsuhiko Miyagawa")
Newsgroups perl.datetime
Message-ID <[email protected]>
This sounds like RedHat perl's nasty patch to make bless() slow in a
package with overloads.
https://bugzilla.redhat.com/show_bug.cgi?id=196836

Upgrading perl RPM to 5.8.23 or later should fix the problem.

On Tue, Aug 12, 2008 at 3:38 PM, Erasmus Oblar <[email protected]> wrote:
> I'm seeing some major performance differences between running DateTime on a
> redhat 3 vs redhat 5 system.
...
> Everything looks reasonable between the two machines, except for the *69
> seconds* taken by  machine B in DateTime->new line 181.
>
> Did something change regarding how expensive bless is in perl 5.8.0 vs
> .5.8.8?
>
> Is there a better way for this code to be written?  Any help would be much
> appreciated.  If you'd like any other details, please let me know.
>
> cheers,
> E
>



-- 
Tatsuhiko Miyagawa
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.