|08-16-2011, 12:54 PM||#1|
CC Android Developer
Join Date: Jan 2010
Device: Many android devices
Does anyone use "general program mode" template functions?
It occurred to me that I could compile templates written using general program mode into python. Doing this could lead to template execution speed improvements of anywhere from 10 to 50 times. (GPM templates begin with the word "program:".) Building the GPM compiler would be a fair amount of work, so it is worth the effort only if people actually use GPM.
Column coloring uses GPM, but as these templates are invoked only for the books shown on the library view, the payback is not nearly as large as one would get when compiling a template for a composite custom column.
Could anyone who uses GPM in a custom column post here? If you post, it would be nice to get an idea of the complexity of the program. I don't care what it does, only how many function calls it makes. Example programs would be nice, if you are willing to share them.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Kindle DX optimal "page" size - PDF or Word template||guiyoforward||Amazon Kindle||12||09-28-2010 08:05 PM|
|Changing "Save Template" not working?||monkbythesea||Calibre||10||08-04-2010 04:30 AM|
|template for "send to device" customization||sbin||Calibre||8||01-07-2010 08:22 AM|
|"perfect" epub model or template?||gernblanston||ePub||0||09-25-2009 12:00 PM|
|Commercial program says it can "make your own pdf e-books" - Anyone know about "||Fugubot||3||04-29-2009 07:39 PM|