Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 08-16-2011, 11:54 AM   #1
chaley
"chaley", not "charley"
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: 5,628
Karma: 857074
Join Date: Jan 2010
Location: France
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.
chaley is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle DX optimal "page" size - PDF or Word template guiyoforward Amazon Kindle 12 09-28-2010 07:05 PM
Changing "Save Template" not working? monkbythesea Calibre 10 08-04-2010 03:30 AM
template for "send to device" customization sbin Calibre 8 01-07-2010 07:22 AM
"perfect" epub model or template? gernblanston ePub 0 09-25-2009 11:00 AM
Commercial program says it can "make your own pdf e-books" - Anyone know about " Fugubot PDF 3 04-29-2009 06:39 PM


All times are GMT -4. The time now is 01:13 AM.


MobileRead.com is a privately owned, operated and funded community.