Page MenuHome

Compositor: Refactor recursive methods to iterative
ClosedPublic

Authored by Manuel Castilla (manzanilla) on Jun 5 2021, 7:10 PM.

Details

Summary

In order to reduce stack size this patch converts full frame recursive
methods into iterative.

  • No functional changes.
  • No performance changes.
  • Memory peak may slightly vary depending on the tree because now breadth-first traversal is used instead of depth-first.

Tests in D11113 have same results except for test1 memory peak:
360MBs instead of 329.50MBs.

Diff Detail

Repository
rB Blender

Event Timeline

Manuel Castilla (manzanilla) requested review of this revision.Jun 5 2021, 7:10 PM
Manuel Castilla (manzanilla) created this revision.
This revision is now accepted and ready to land.Jun 8 2021, 3:59 PM