On Mon, Jan 28, 2008 at 11:26:34AM -0800, Clinton A. Pierce wrote: > To duplicate a large expat-parsed XML structure (with refs of refs of refs), > > I'm doing the following: > > > my $temp = Storable::freeze $originalXml; > my $copyXml = Storable::thaw($temp); > > > And by "large" I mean about 8MB when dumped with Data::Dumper. Under Perl > 5.6 > the "freeze" takes fractions of a second. Under Perl 5.10 it takes many > seconds > (between 5-8 seconds). Do you have a sample data structure you can attach? Do you have results for perl 5.8.8? 5.10 comes with Storable 2.18. If you download this from CPAN and build it for 5.6, is it slow? Nicholas ClarkThread Previous | Thread Next