File
courant-app/src/main/java/systems/courant/sd/app/canvas/EquationAutoComplete.java, lines 502-514
Description
Every keystroke calls getRichSuggestions() which iterates all model elements and all built-in functions. The suggestion list only changes when elements are added/removed/renamed, not on every keystroke.
Impact
Could cause perceptible input lag in equation fields for large models (hundreds of elements).
File
courant-app/src/main/java/systems/courant/sd/app/canvas/EquationAutoComplete.java, lines 502-514Description
Every keystroke calls
getRichSuggestions()which iterates all model elements and all built-in functions. The suggestion list only changes when elements are added/removed/renamed, not on every keystroke.Impact
Could cause perceptible input lag in equation fields for large models (hundreds of elements).