You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 line
1.1 KiB

  1. printf("%i,%i[%i] %g -> %i + %g\n", x, y, i, p, (int)d, e);
  2. ----
  3. perfs for pipi random:256x256 --wrap --median X:
  4. X = 1 X = 2 X = 3 X = 4 X = 5 X = 6
  5. 0.133 0.458 1.288 3.066 6.370 11.931
  6. 0.127 0.435 1.289 3.062 6.355 11.944
  7. 0.128 0.445 1.282 3.053 6.354 11.916
  8. 0.120 0.432 1.264 3.089 6.362 11.938
  9. 0.120 0.436 1.292 3.048 6.366 11.911
  10. after switching to qsort:
  11. X = 1 X = 2 X = 3 X = 4 X = 5 X = 6 X = 7 X = 8
  12. 0.257 0.733 1.519 2.704 4.192 6.143 8.193 10.880
  13. 0.241 0.731 1.541 2.709 4.179 6.172 8.194 10.889
  14. 0.243 0.736 1.540 2.728 4.174 6.123 8.221 10.824
  15. 0.241 0.725 1.530 2.706 4.161 6.135 8.288 10.791
  16. 0.241 0.725 1.528 2.733 4.168 6.142 8.208 10.805
  17. my qsort:
  18. X = 1 X = 2 X = 3 X = 4 X = 5 X = 6 X = 7 X = 8
  19. 0.161 0.438 0.974 1.856 3.155 5.041 7.637 11.191
  20. 0.157 0.427 0.971 1.840 3.138 5.047 7.641 11.170
  21. 0.156 0.438 0.972 1.845 3.146 5.040 7.650 11.165
  22. 0.164 0.437 0.969 1.839 3.150 5.025 7.647 11.119
  23. 0.164 0.450 0.968 1.834 3.152 5.043 7.651 11.097