-
-
Notifications
You must be signed in to change notification settings - Fork 661
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PERF: Avoid processing entire rows based on mathematical certainties
When either the fixedMarginalPDF or movingMarginalPDF (which are sums of rows or columns of the 2D joint histogram) then the intersection point must also be zero. Both the contribution to the final values of such a point is no change, so one can avoid much testing and subsequent inner conditional processing in such cases.
- Loading branch information
1 parent
e7ef06e
commit 82730af
Showing
1 changed file
with
15 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters