Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Inside-out Objects: Public Discussion in New York City (SLIDES)

by xdg (Monsignor)
on Jan 18, 2006 at 15:40 UTC ( #524002=note: print w/replies, xml ) Need Help??


in reply to Re^2: Inside-out Objects: Public Discussion in New York City (RE-SCHEDULED)
in thread Inside-out Objects: Public Discussion in New York City

I've posted the slides from the talk. (PDF format)

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

  • Comment on Re^3: Inside-out Objects: Public Discussion in New York City (SLIDES)

Replies are listed 'Best First'.
Re^4: Inside-out Objects: Public Discussion in New York City (SLIDES)
by demerphq (Chancellor) on Jan 18, 2006 at 18:37 UTC

    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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://524002]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2019-12-09 10:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?