Do you have switch and output compatability modes to plug into code that already uses DD or DD? *hint* *hint*

Well, as you can see from my current example I support the Data::Dump style interface and not the Data::Dumper interface. However Im sure I can include a wrapper that emulates Data::Dumper functionality.

Although I have to say that my intention is not so much to create a drop in replacement for either (although it should be up to job) but rather a development tool for trying to visualize and analyze data structures. Part of the reason that I take this perspective is that many trade-off decisions have been made in favor of analytical and presentational flexibility and utility and not to speed or memory overhead type concerns.

So if you have to serialize a few million data structures then Data::BFDump is probably not the place to go (unless of course you are dumping structures that would be affected by the bugs I mentioned earlier.) OTOH if you are trying to figure out what data structure is being used by a new module, or why you keep getting weird results with that funky data structure you are developing then my tool will probably be exactly what you want to use.

Then waste the two bytes and call it root. :)

Honest I tried it. Trouble is that there are two prefixes used "BF" and "RT", and then the vars can be numbered as well so if I use ROOT explicitly in some situations the variable names get quite long indeed...

Maybe Ill make it an option though. Compromise eh? :-)

Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.


In reply to Re: Re: Reinventing the wheel: Dumper Difficulties by demerphq
in thread Reinventing the wheel: Dumper Difficulties by demerphq

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.