Speed Optimisation

  • 1
  • 2
  • Page 2 of 2

Poll

Would you like to see any of the following options
{$OPTI SPEED}
 
8 (44.44%)
{$OPTI SPEED_ALL}
 
4 (22.22%)
{$OPTI SHORT_CIRCUIT_TESTS}
 
6 (33.33%)
Total votes:18
This poll ended. You can't vote anymore
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1372
Registered: 03 / 2005
Subject:

Re: Speed Optimisation

 · 
Posted: 22.08.2018 - 14:42  ·  #9
Well, to be strictly correct, you can choose in Delphi, but the default is short circuit.
Lschreyer
Schreiberling
Avatar
Gender: n/a
Posts: 526
Registered: 02 / 2007
Subject:

Re: Speed Optimisation

 · 
Posted: 07.11.2018 - 19:52  ·  #10
Darf ich fragen ob das Feature des Optimizers nun enthalten ist?
Ich habe nämlich ein sehr seltsames Verhalten eines optimierten Codes, da
ist
Code
   
  repeat 
     showposi;
      if (Check_Startkey_Pressed or Check_Abortkey_Pressed) then
        Autoaborted:= true;
        break;
      endif; 
    until (Autoaborted) or (A>= B) or (C = 0); 


Die Schleife bricht sofort ab, obwohl keine der Bedingungen eingetreten ist.

Verkürze ich es testweise auf

Code
   repeat 
        showposi;
         if (Check_Startkey_Pressed or Check_Abortkey_Pressed) then
           Autoaborted:= true;
            break;
          endif;
        until (Autoaborted); // or (A>= B) or (C = 0) 


klappts.
Merlin
Administrator
Avatar
Gender:
Age: 24
Posts: 1372
Registered: 03 / 2005
Subject:

Re: Speed Optimisation

 · 
Posted: 08.11.2018 - 13:37  ·  #11
No, the feature is not yet included, and even when it will be you will need to include a special option to activate it.

Please send me asm and dsm files via pm and I will look into it.
Lschreyer
Schreiberling
Avatar
Gender: n/a
Posts: 526
Registered: 02 / 2007
Subject:

Re: Speed Optimisation

 · 
Posted: 11.11.2018 - 16:38  ·  #12
The problem is solved, it was my mistake, I did not use Push/Pop in onSystick..
  • 1
  • 2
  • Page 2 of 2
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: 17 · Cache Hits: 14   80   94 · Page-Gen-Time: 0.025279s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI