Diffusion Krita be8cc320edab

Optimize Boost's BK algorithm

Authored by dkazakov on Sep 23 2016, 2:15 PM.

Description

Optimize Boost's BK algorithm

Too many read and writes from the graph make performance about 5-10%
slower. Caching values in local variables fixes it.

Details

Committed
dkazakovSep 23 2016, 2:20 PM
Parents
R37:37d0dd74c53d: Fork Boykov-Kolmogorov algorithm from boost
Branches
Unknown
Tags
Unknown