Optimiser

Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1373
Registered: 03 / 2005
Subject:

Optimiser

 · 
Posted: 13.09.2021 - 09:54  ·  #1
It has been a while, but a couple of bugs have been found in the optimiser, one to do with very large 64 bit numbers (>$7FFFFFFF) and one to do with loops within a 'with' statement within a loop.

Updated optimiser attached.
Attachments
Filename: Optimiser.zip
Filesize: 422.13 KB
Title:
Download counter: 6
TheBeginner
Schreiberling
Avatar
Gender: n/a
Location: Wunsiedel Bayern
Age: 67
Posts: 755
Registered: 06 / 2013
Subject:

Re: Optimiser

 · 
Posted: 13.09.2021 - 10:46  ·  #2
Hello Merlin, something is wrong with your update, I am getting wrong values from my DHT22 humidity / temperature sensor.
Humidity = 11.6%
Temperature 14 degrees
Without your optimiser 59.7% and 22.9 degrees.
Greetings Frank


Hallo Merlin, mit deinen Update stimmt etwas nicht, aus meinen DHT22 Feuchte / Temperatur Sensor bekomme ich falsche werte.
Feuchte = 11,6 %
Temperatur 14 Grad
Ohne deinen Optimiser 59,7 % und 22,9 Grad.
Gruß Frank



____________________________________________
PS...

Can of course also be due to my timing program code from the DHT22

Kann natürlich auch an mein Timing Programm Code vom DHT22 liegen

Gruß Frank
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1373
Registered: 03 / 2005
Subject:

Re: Optimiser

 · 
Posted: 13.09.2021 - 16:48  ·  #3
Hi Frank. If you send me your project via pm, I will take a look.

Code
Can of course also be due to my timing program code from the DHT22


That could, of course be possible. Optimised code does run faster than unoptimised...

But either way, if you send me your project and indicate where it fails I will take a look.
TheBeginner
Schreiberling
Avatar
Gender: n/a
Location: Wunsiedel Bayern
Age: 67
Posts: 755
Registered: 06 / 2013
Subject:

Re: Optimiser

 · 
Posted: 14.09.2021 - 17:17  ·  #4
Der Optimiser ist ok, lag an meinen Timing :-)


Gruß Frank
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 16 · Cache Hits: 15   79   94 · Page-Gen-Time: 0.030181s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI