View Single Post
Old 04-13-2020, 06:50 AM   #20
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,488
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by davidfor View Post
Code:
{#finished:format_date(yyyy.MM.dd)}
This is probably a faster when executing. I believe general program mode has some overhead when changing the template mode. I prefer the genera program mode as it tends to be easier to read for anything complicated. I frequently write in general program mode and then change it to one of the other modes when I have it worked out.
GPM should be faster than the other modes. GPM is easier to parse, the parse tree (the 'compiled code') is cached, and it avoids multiple calls to the template subsystem.

Last edited by PeterT; 04-13-2020 at 07:46 AM.
chaley is offline   Reply With Quote