Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^7: Runtime introspection: What good is it?

by sgifford (Prior)
on Jul 10, 2008 at 16:23 UTC ( #696745=note: print w/ replies, xml ) Need Help??


in reply to Re^6: Runtime introspection: What good is it?
in thread Runtime introspection: What good is it?

Ah, I see, very clever! It uses two virtual method calls, and takes advantage of the fact that once the first is started, the compiler knows the type of that first object and so can find the right overload for the second object's intersect. I'm not sure what the advantage would be over the RTTI solution, although it would be interesting to compare the performance.


Comment on Re^7: Runtime introspection: What good is it?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (18)
As of 2014-08-29 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls