enketo-core icon indicating copy to clipboard operation
enketo-core copied to clipboard

Add 'turbo' mode?

Open MartijnR opened this issue 5 years ago • 2 comments

Some thoughts:

  • (huge) performance-boost by requiring dates to always be wrapped inside date() in expressions
  • ~~disable repeat-position-injection (which is a workaround for https://opendatakit.github.io/xforms-spec/#a-big-deviation-with-xforms, and no longer necessary for recently converted xlsforms - this workaround is causing bugs that are not really fixable)~~ - already done with odk:xforms-version="1.0.0"

These could be done as separate settings, but both require a tight control of the form definitions, and it seems only applicable to mini ecosystems such as OpenSRP, OpenClinica, Medic Mobile.

MartijnR avatar Nov 06 '19 18:11 MartijnR

or two modes (that with flexible names so we can add/remove things):

  • ~~legacy (whether old incorrect forms should be supported), default true~~
  • speedup/turbo (performance boosts with reduced syntax support), default false

MartijnR avatar Nov 06 '19 22:11 MartijnR

Instead of a legacy mode it would be even cooler if pyxform added an attribute or class to indicate major changes such as no-repeat-reference-bug. Clients could then disable the workaround for that incorrect syntax.

https://github.com/XLSForm/pyxform/issues/393

MartijnR avatar Nov 06 '19 23:11 MartijnR