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

Re^4: What perl operations will consume C stack space?

by BrowserUk (Pope)
on Feb 25, 2006 at 08:03 UTC ( #532747=note: print w/replies, xml ) Need Help??


in reply to Re^3: What perl operations will consume C stack space?
in thread What perl operations will consume C stack space?

Hmm. I guess I didn't realise I was asking for trade secrets here.

Your example is incomplete as you don't say what string you would need to run it against for it to produce pathological behaviour.

As I've mentioned, I've produced many that take a long time to process, but I'm failing to grasp the significance of what aspects take time, and which consume stack. Maybe this should be obvious to me, but it isn't.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^4: What perl operations will consume C stack space?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://532747]
help
Chatterbox?
[tye]: -1 means nobody logged in or the process was started before audit got booted
[davido]: ok, on my ubuntu system getlogin grabs from /proc/self/ loginuid (per strace)
[tye]: disable /proc and then see what it does?
[davido]: then it reads from /etc/passwd to decide who my uid is.
[davido]: sorry, typed that before you asked me to disable proc
[davido]: but you stumped me; don't know how to disable proc.
[tye]: I don't know if you can just dismount, but I thought so.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-06-23 20:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.