Hi,
 
I wrote a generic class to test sorting algorithms and also benchmarking them. 
I have following problem:
 
When I change even a single line of code anywhere in that unit, even in an 
unrelated method, all ~40 algorithms become a little slower or a little faster. 
I observed it has two levels of speed: 100% and 90%. Just these values, never 
95%, it is not random.
 
I looked around and found: 
https://www.freepascal.org/docs-html/prog/progsu9.html
 
but still I cannot find which items and what values should I set. (I guess it 
should be LOOP, PROC or JUMP?)
 
My program is Lazarus single window with many buttons which specializes generic 
class of that unit.


I'm still on Core2Duo with 64-bit Linux.
 
Lazarus 2.3.0 (rev main-2_3-2118-gb5858164db) FPC 3.3.1 x86_64-linux-qt
 
Thanks for help.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to