develooper Front page | perl.perl5.porters | Postings from July 2011

Re: Changing lvalueness of existing subs; refactoring pp_leavesub

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
July 10, 2011 18:23
Subject:
Re: Changing lvalueness of existing subs; refactoring pp_leavesub
Message ID:
20110711012316.GW8585@klangraum.plasmasturm.org
* Father Chrysostomos <sprout@cpan.org> [2011-06-20 04:25]:
> So do you think putting pp_return in pp_hot.c would make it too
> big to fit in cache?
>
> Or do you think that squashing leavesub* together would provide
> enough space savings?

The latter.

Personally I’m dubious on the entire idea of pp_hot. I don’t know
if it *ever* made any sense (has anyone ever run any measurements
on that?), but among other factors, compilers today have gotten
a whole lot smarter in some ways, and just letting the compiler
see everything at once and make its own calls is usually the best
way to optimise (which is as it should be, thankfully).

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About