Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Inline::C hash access

by fireartist (Chaplain)
on Sep 04, 2008 at 12:14 UTC ( [id://709000]=note: print w/replies, xml ) Need Help??


in reply to Re: Inline::C hash access
in thread Inline::C hash access

I've looked into this, but unfortunately the parent can change - and this involves a tree of lots of different types of objects - so keeping track of what type of children need updated sounds like a bug waiting to happen ;)

Replies are listed 'Best First'.
Re^4: Inline::C hash access
by puudeli (Pilgrim) on Sep 04, 2008 at 12:19 UTC
    This sounds like a place where a doubly-linked list could do the job. Each node knows the previous and the next node, thus you can easily descend/ascend the list whenever you need.
    --
    seek $her, $from, $everywhere if exists $true{love};
      If you have several branches and many $roots in the tree then of course the $root needs to know that it is the $root. A simple flag would tell the search to stop and return the $root for a particular $node.
      --
      seek $her, $from, $everywhere if exists $true{love};

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-28 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found