Locus need some optimization
Bug #1836768 reported by
hilaire
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dr. Geo |
Fix Released
|
Medium
|
Unassigned |
Bug Description
It looks like DrGLocusMorph samples a lot of off screen samples. Later discarded, though. But it consumes a lot of computer power.
Test with this script, with a value larger than 6
| figure f a b c|
figure := DrGeoFigure nouveau afficherAxes afficherGrille echelle: 50.
a := figure decimal: 1 a: 5 @ -1 min: -8 max: 8 nom: 'a' afficherValeur: true.
b := figure decimal: 1 a: 5 @ -2 min: -8 max: 8 nom: 'b' afficherValeur: true.
c := figure decimal: 1 a: 5 @ -3 min: -8 max: 8 nom: 'c' afficherValeur: true.
f := [:x | a valeur * x squared + (b valeur * x) + c valeur].
figure courbeDe: f de: -10 a: 10
Changed in drgeo: | |
milestone: | 19.06 → 19.09 |
Changed in drgeo: | |
status: | In Progress → Fix Committed |
Changed in drgeo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Once can use
sample1 pointScreen - sample2 pointScreen) abs max > 5
in place of the squaredDistance