Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Some comments based on the slides:

  • Page 8 section 1 should mention that locked hashes provide a good solution to this problem. But are restricted to post Perl 5.8
  • The point on page 16 about refaddr having a cost to calculate is IMO a bit of a red-herring. Returning the refaddr of a SV doesn't really involve any calculation, simply the creation of a new SV and the copying of the relevent address. I would guess that this is roughly equivelent to dereferencing a ref to a scalar in terms of processing. Hashes are going to be slower however because the conversion will be something like void * => newSvIV => newSvPV (actually I think its a SvUpgrade or whatever :-). But this isnt refaddr's fault. For instance it wouldnt be a too difficult to put together an XS routine that did all of this without the intermediate steps. At some point I bet it would be competitive with the scalar index dereferencing.

Otherwise id say your slides are great and are well worth reviewing for a good example of how to do a good presentation on a subject. Great work++.

---
$world=~s/war/peace/g


In reply to Re^4: Inside-out Objects: Public Discussion in New York City (SLIDES) by demerphq
in thread Inside-out Objects: Public Discussion in New York City by jkeenan1

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-16 22:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found