zuma53 has asked for the wisdom of the Perl Monks concerning the following question:
This works fine and dandy, but as my hash is getting more and more rows, the slower and slower it runs. Plus the memory allocated goes through the roof, and lately, I've been getting segmentation faults (out of memory is a guess).foreach key (keus %hash) some data manipulation build some XML nodes onto tree foreach key2 (keys %{$hash{key}}) some data manipulation build some XML nodes onto tree foreach key2 (keys %{$hash{key}{key2}}) parse some prepared XML snippets graft onto tree end end end tree->print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML-Twig: Tree building and printing
by mirod (Canon) on Jun 25, 2012 at 07:01 UTC | |
|
Re: XML-Twig: Tree building and printing
by frozenwithjoy (Priest) on Jun 25, 2012 at 05:15 UTC | |
by Anonymous Monk on Jun 25, 2012 at 06:37 UTC | |
by frozenwithjoy (Priest) on Jun 25, 2012 at 06:55 UTC | |
by Anonymous Monk on Jun 25, 2012 at 07:04 UTC | |
by frozenwithjoy (Priest) on Jun 25, 2012 at 07:08 UTC | |
|