-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: performance improvements for large forms
- missing translations check can still work while only looking at first row, which is a little faster and still passes the tests. - while profiling, found an inefficient unique check in section.py. The benefit is only apparent with forms >1000 questions, but it is significant: q=5000 28s vs. 11s, q=10000 103s vs. 21s.
- Loading branch information
1 parent
f1babeb
commit eb6f0fe
Showing
3 changed files
with
40 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters