My partially wild guess is that Data::Dumper's stuffing everything into one big string causes lots of realloc()s which can't be done in-place due to Perl malloc()ing things in between so the growing string is repeatedly copied around to new places where there is enough space to hold it all in one piece.
The correct solution is for Data::Dumper to be fixed to know how to write to a Perl file handle!
- tye (but my friends call me "Tye")In reply to (tye)Re: Data::Dumper Efficiency Problem
by tye
in thread Data::Dumper Efficiency Problem
by madhatter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |