perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruben Safir <ru...@mrbrklyn.com>
Subject Re: EMBPERL: Calling Execute() multiple time per a page.
Date Thu, 01 Sep 2016 23:58:01 GMT
On 08/25/2016 06:36 PM, Ed Grimm wrote:
> What you have is a slow version of an Embperl subroutine.  Use an actual 
> Embperl subroutine instead.  Use Execute at most once to load it.
> 
> It's my understanding that generally, templates are done in 
> Embperl::Object.  But when doing it that way, your template is stored in 
> your base Embperl::Object file, as Embperl code, rather than having 
> everything stored in a database.  Of course, that has the advantage that 
> you don't need to pull 500+ rows from your database to generate your page.
> 

nice.  I thought I was the lone user of embperl at this point


-- 
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message