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?
In Section
Seekers of Perl Wisdom