View Single Post
Old 09-13-2020, 07:37 AM   #382
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,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by davidfor View Post
Good to know. What about "raw_field()"? I probably use that as much as "field()".
I rewrote the formatter to build and save an interpretable tree instead of always interpreting while parsing.

Other changes: it
  • inlines raw_field
  • automatically converts test() to if-then-else, avoiding interpreting the non-used expression (branch).
  • improves syntax checking. For example, now that errant semicolon will be signaled regardless of the value of the conditional expression
These changes dramatically improve performance of composite columns and icon/color rules.
chaley is offline