Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • XML::Filter::Dispatcher is definitely slower than TWIG. It's still young and it will probably never be as optimized as TWIG is for TWIG's purpose.

    That being said, you may want to look at the struct() and hash() extension functions that return Perl data structures something like TWIGs. <plug>My shiny, tiny new BFD [cpan.org] module might help you see them:

       'foo' => [ 'hash()' => sub { use BFD; d xvalue } ],

    ;)</plug>.

    Along with optmization, I'd like to enable X::F::D to gener

  • If anyone wants to see the two approaches and the test data, let me know and I'll post it

    Yes, please. You see, I've written my own, (as yet) unreleased XML parsing module which, from the little I know of XML::Twig, and judging by the name of the other module you mention, sounds like it's pretty much in the same realm. Before I even contemplate of releasing it, I'd like to port your test script in order to use my own module, and compare code and speed to the two modules you've used.

  • I have posted some comments on the article [xmltwig.com] and a faster version of the XML::Twig code on the XML::Twig page [xmltwig.com].

    --
    mirod