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


by BrowserUk (Pope)
on Sep 26, 2011 at 18:03 UTC ( #927913=note: print w/ replies, xml ) Need Help??

in reply to Re: XS: EXTEND/mPUSHi
in thread XS: EXTEND/mPUSHi

Thanks for the very nice explanation. I was concerned about using PUTBACK myself as I thought t would be duplicating the one in the wrapper sub. On closer inspection I've realised that the one in the wrapper sub will never be reached:

/* must have used dXSARGS; list context implied */ return; /* assume stack size is correct */ ### Her +e #line 128 "monkeys.c" PUTBACK; return; } }

Which make me wonder why it (and the second return), are there in the first place?

I'm also lost to understand the derivation of the name "PUTBACK". It certainly isn't intuitive (to me) as a term that means 'remember how many items were added to the stack'.

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Comment on Re^2: XS: EXTEND/mPUSHi
Download Code
Replies are listed 'Best First'.
by ikegami (Pope) on Sep 26, 2011 at 18:19 UTC
    I agree. It's probably short for "put sp (aka SP) back into PL_stack_sp" (as it does PL_stack_sp = sp), but it's not a very useful name.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (15)
As of 2015-07-30 12:57 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (271 votes), past polls