|
|
Template::Simple .04 is on cpan
i have released Template::Simple .04 to cpan. this was meant to be .03
but in my haste i released that without doing a full test run. some
changes i made (which passed their own tests!) caused others to fail. my
bad. so i just fixed all the tests and made some minor fixes in the code
for that too.
but the major change is exciting. T::S now has compiled templates. you
can load a template by name and then compile it. the render call is
exactly the same (you must pass the template name for a compiled
template). it will render it blazingly fast. there is a benchmark in the
extras/ dir that compare T::S regular and compiled templates to
Template::Teeny (compiled only) and template toolkit (whatever comes
plain from cpan). T::S compiled templates are about 34 times faster that
TT's in this test. i am sure some of you will bitch and moan about this
so just edit that script and send me code on improving the benchmark.
the docs cover all about compiling templates and the few caveats and
restrictions. you can even dump the generated perl source of a compiled
template for your amusement and hand coded optimizations!
uri
--
Uri Guttman ------ uri@stemsystems.com -------- http://www.sysarch.com --
----- Perl Code Review , Architecture, Development, Training, Support ------
--------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com ---------
|
|
0
|
|
|
|
Reply
|
Uri
|
4/25/2011 7:51:03 AM |
|
|
0 Replies
628 Views
(page loaded in 0.596 seconds)
Similiar Articles: how to find eye template... - comp.soft-sys.matlabcan any body tell me that how can i find eye template??? ... 4/15/2010 3:33:04 PM ... Eye Mask Template - Easy Crafts for Kids and Families Before you ... API sample project from help file - comp.cad.solidworks10/21/2006 6:04:36 AM ... Dev-C++ and openGL - linker problem and simple how to - comp ..... and am trying to run a simple openGL > example ... getting cpan configured - comp.unix.shellcpan[1]> install News::NNTPClient CPAN: Storable loaded ... For example, the XPATH command on my server does not seem ... 3/27/2011 12:44:04 PM simple texture example on OS X, does not work? - comp.graphics.api ...I've downloaded and built a very simple texture example on Mac OS X 10.4.11 from here: http ... 7/25/2012 9:04:28 AM Example sending HTML formatted Text as a Body of Email HB_SENDMAIL ...is simple create the html file with .htm ... Example sending HTML formatted Text as a Body of Email HB_SENDMAIL ... On 26 fev, 04:26, poopall <lawrence.edelst...@gmail ... Multipliers, dividers, adders etc.... - comp.lang.verilog ...For example: reg [N-1:0] MultInA, MultInB; reg [2 ... On Thu, 31 Dec 2009 14:04:46 +0100, "asparnique ... Of course, divide by a constant power of 2 is a simple ... [example] code to show URL content - comp.lang.java.help ...... javax.swing.JOptionPane; import java.net.URL; /** Simple code to dump a web page to a JEditorPane onscreen. Example ... java ShowURL @author Andrew Thompson @version 2007/04 ... Usage of iso_c_binding - comp.lang.fortranI am trying to get a simple example working to invoke a fortran subroutine from C++. ... On 2010-04-09 17:07:42 -0300, "John N." <ortp21@gmail.com> said: > On Apr 9 ... USRP2 MatLab Implementation Problem #2 - comp.soft-sys.matlab ...... simple tx usrp2 is not detected by simple rx usrp2.In both the systems simple Tx example is ... 5/16/2011 6:54:04 PM Executing Matlab code using Visual basic - comp.soft-sys.matlab ...After going through the example, design a simple form to perform a simple operation, then the ... 7/23/2012 7:07:04 AM Spreadsheet::ParseExcel::Simple - search.cpan.orgDownload: Spreadsheet-ParseExcel-Simple-1.04.tar.gz. Dependencies. Annotate this POD ... all correspondence regarding this module to: bug-Spreadsheet-ParseExcel-Simple@rt.cpan ... The Comprehensive Perl Archive Network - www.cpan.orgComprehensive Perl Archive Network. 108,551 open source Perl modules ready to download and use 7/29/2012 9:49:30 AM
|
|
|
|
|
|
|
|
|