Skip to content
Snippets Groups Projects
  1. Nov 02, 2017
  2. Oct 31, 2017
  3. Oct 27, 2017
  4. Oct 25, 2017
  5. Sep 20, 2017
  6. Sep 13, 2017
  7. Aug 28, 2017
  8. Aug 03, 2017
  9. Jul 28, 2017
  10. Jun 23, 2017
  11. Jun 16, 2017
  12. May 10, 2017
  13. Apr 21, 2017
  14. Apr 13, 2017
  15. Apr 12, 2017
  16. Apr 07, 2017
  17. Apr 05, 2017
  18. Apr 03, 2017
  19. Mar 10, 2017
  20. Mar 08, 2017
  21. Jan 18, 2017
  22. Jan 11, 2017
  23. Jan 10, 2017
  24. Jan 04, 2017
  25. Nov 17, 2016
  26. Nov 16, 2016
    • Julien Michel's avatar
      PERF: Optimize BCOInterpolateImageFunction (kindly provided by Laurentiu Nicola) · b3a50337
      Julien Michel authored
      Simplify the code and avoid some allocations to improve performance.
      
      I haven't checked the definition of RealType, but merging the output and
      value variables might arguably affect precision. The unit tests still
      seem to pass, however.
      
      Tested by 2x upsampling a 10-band 5490x5490 float32 image on an Intel
      Celeron J1900.
      
      There is further room for improvement by eliding the remaining memory
      allocations. A container like the small_vector from Boost might be
      useful here, but we can't use that since it's not available in older
      Boost versions.
      
      before:
      661.44s user 9.31s system 304% cpu 3:40.52 total
      594.06s user 9.43s system 303% cpu 3:19.00 total
      591.15s user 9.43s system 301% cpu 3:19.28 total
      
      after:
      443.42s user 10.48s system 294% cpu 2:34.00 total
      443.11s user 9.87s system 309% cpu 2:26.27 total
      448.50s user 10.50s system 311% cpu 2:27.52 total
      b3a50337
    • Julien Michel's avatar
      PERF: Optimize BCOInterpolateImageFunction · 6a8c2a84
      Julien Michel authored
      Simplify the code and avoid some allocations to improve performance.
      
      I haven't checked the definition of RealType, but merging the output and
      value variables might arguably affect precision. The unit tests still
      seem to pass, however.
      
      Tested by 2x upsampling a 10-band 5490x5490 float32 image on an Intel
      Celeron J1900.
      
      There is further room for improvement by eliding the remaining memory
      allocations. A container like the small_vector from Boost might be
      useful here, but we can't use that since it's not available in older
      Boost versions.
      
      before:
      661.44s user 9.31s system 304% cpu 3:40.52 total
      594.06s user 9.43s system 303% cpu 3:19.00 total
      591.15s user 9.43s system 301% cpu 3:19.28 total
      
      after:
      443.42s user 10.48s system 294% cpu 2:34.00 total
      443.11s user 9.87s system 309% cpu 2:26.27 total
      448.50s user 10.50s system 311% cpu 2:27.52 total
      6a8c2a84
  27. Oct 17, 2016
  28. Oct 14, 2016
  29. Oct 13, 2016
  30. Oct 04, 2016
  31. Sep 23, 2016
  32. Sep 21, 2016
Loading