Slow performance after deleting slow Locus

Jack Kelley shared this problem 2 years ago

File 1: Upon opening, you can move the foci (F and F') and the response is fast. Now add the command Locus(K, P). Moving F or F' is now slow and jerky (as expected). So delete the locus object. But moving F or F' is still slow and jerky; this is the problem.

File 2: Upon opening, moving F or F' is slow and jerky, because of Locus(K, P). So delete the locus object. Now moving F or F' is fast.

These files are the "same", except that file 2 has the locus.

System Information:[pre]GeoGebra Classic 5.0.535.0-d (21 April 2019)

Java: 1.8.0_161

Codebase: file:/C:/Users/username/AppData/Roaming/GeoGebra%205.0/jars/current/

OS: Windows 10

Architecture: x86 / x86

Heap: 247MB

CAS: CAS Initializing

Comments (1)


After adding and then deleting the locus, Edit>Undo can return performance to normal (or at least reasonable, depending on what other operations have been performed). In yet other circumstances, repeating Edit>Undo might re-instate the locus.

Is there a sure-fire way to prevent a deleted locus from somehow clogging up the current session?

© 2021 International GeoGebra Institute