We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The same complexity profiles that we ended up with for getodk/javarosa#689 should apply for selects with choice filters.
An example test that shows this is not the case is:
Scenario scenario = Scenario.init("Some form", html( head( title("Some form"), model( mainInstance(t("data id=\"some-form\"", t("choice"), t("select") )), instance("instance", item("a", "A"), item("b", "B") ), bind("/data/choice").type("string"), bind("/data/select").type("string") ) ), body( input("/data/choice"), select1Dynamic("/data/select", "instance('instance')/root/item[value = /data/choice]") ) )); int evaluations = Measure.withMeasure(asList("PredicateEvaluation", "IndexEvaluation"), () -> { scenario.answer("/data/choice", "a"); scenario.choicesOf("/data/select"); scenario.answer("/data/choice", "b"); scenario.choicesOf("/data/select"); }); // Check that we do less than (size of secondary instance) * (number of choice lookups) assertThat(evaluations, lessThan(4));
The text was updated successfully, but these errors were encountered:
FilterStrategy
seadowg
Successfully merging a pull request may close this issue.
The same complexity profiles that we ended up with for getodk/javarosa#689 should apply for selects with choice filters.
An example test that shows this is not the case is:
The text was updated successfully, but these errors were encountered: