Re: Performance of Data::Dump

2006-05-05 Thread Lyle Kopnicky
Thomas, Mark - BLS CTR wrote: Are there modules faster than Data::Dump? Interesting. I'd never heard of Data::Dump. I always use Data::Dumper. Have you tried that? It uses XS code so it should be faster. Data::Dump comes with the ActivePerl distribution. From the Data::Dump documentati

Re: Performance of Data::Dump

2006-05-05 Thread D D Allen
Suggest you investigate the following modules: Storable        http://search.cpan.org/~ams/Storable-2.15/Storable.pm DBM::Deep        http://search.cpan.org/~rkinyon/DBM-Deep/lib/DBM/Deep.pm I'm using DBM::Deep in a project to store thousands of hashes elements (that include hash elements) and

Re: Performance of Data::Dump

2006-05-05 Thread Lyle Kopnicky
Thanks for the suggestions, folks. I'm going to try Storable. I had originally skipped it due to lack of readability, but we can easily write separate tool to pretty-print the file, even using Data::Dump. -- Lyle Kopnicky Software Project Engineer Veicon Technology, Inc. __

RE: Performance of Data::Dump

2006-05-05 Thread Thomas, Mark - BLS CTR
> Are there modules faster than Data::Dump? Interesting. I'd never heard of Data::Dump. I always use Data::Dumper. Have you tried that? It uses XS code so it should be faster. You can also try Storable. - Mark. ___ Perl-Win32-Users mailing list Perl-

Re: Performance of Data::Dump

2006-05-05 Thread Tom Pollard
On Fri, May 05, 2006 at 11:03:51AM -0700, Lyle Kopnicky wrote: > I'm using Data::Dump in a project to periodically write a snapshot of a > hash table to disk, so it can be recovered on failure. Unfortunately, it > can take 40 seconds to write out a 10,000-entry hash table (each entry > is itself

Performance of Data::Dump

2006-05-05 Thread Lyle Kopnicky
Hi folks, I'm using Data::Dump in a project to periodically write a snapshot of a hash table to disk, so it can be recovered on failure. Unfortunately, it can take 40 seconds to write out a 10,000-entry hash table (each entry is itself a small hash table, one entry of which is itself a small h