Skip to content

Performance: Do not Transform Coordinates without Necessity

Simon Spannagel requested to merge perf_implants into master
  • When we have no implants configured, we don't need to do a coordinate transformation
  • When we have SENSOR style fields, we don't need to calculate the pixel index
  • When we have rectangular pixels, isWithinMatrix(local_pos) can be much simpler than calculating pixel index first
Edited by Simon Spannagel

Merge request reports