http://www.perlmonks.org?node_id=674567


in reply to GDB journey into perl internals

Probably in some SV which is sv_2mortal()-ized more than necessary.

For what it's worth, I think that is very likely the cause though I don't know why. (See the note in http://search.cpan.org/src/SLANNING/Ogre-0.35/Ogre.xs (search for mortalized).)

So what did you do to speed things up so much?