Blender  V3.3
Namespaces | Functions
FN_multi_function_procedure_optimization.hh File Reference
#include "FN_multi_function_procedure.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::fn
 
 blender::fn::procedure_optimization
 

Functions

void blender::fn::procedure_optimization::move_destructs_up (MFProcedure &procedure, MFInstruction &block_end_instr)
 

Detailed Description

A #MFProcedure optimization pass takes an existing procedure and changes it in a way that improves its performance when executed.

Oftentimes it would also be possible to implement a specific optimization directly during construction of the initial #MFProcedure. There is a trade-off between doing that or just building a "simple" procedure and then optimizing it uses separate optimization passes.

Definition in file FN_multi_function_procedure_optimization.hh.