dr-geo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dr. Geo] [Bug 1836768] [NEW] Locus need some optimization


From: hilaire
Subject: [Dr. Geo] [Bug 1836768] [NEW] Locus need some optimization
Date: Tue, 16 Jul 2019 15:40:46 -0000

Public bug reported:

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

** Affects: drgeo
     Importance: Medium
         Status: New


** Tags: core

-- 
You received this bug notification because you are a member of DrGeo
developers, which is subscribed to Dr. Geo II.
Matching subscriptions: Dr. Geo bug report
https://bugs.launchpad.net/bugs/1836768

Title:
  Locus need some optimization

Status in Dr. Geo II:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/drgeo/+bug/1836768/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]