Prevent use of constant value of expression for function specializations
coder.ignoreConst(
prevents the code generator from using the constant value ofexpression
)expression
to createfunction specializations.coder.ignoreConst(expression)
returns the value ofexpression
.
For some recursive function calls, you can usecoder.ignoreConst
强制运行时递归。看Force Code Generator to Use Run-Time Recursion.
coder.ignoreConst(expression)
prevents the code generator from using the constant value ofexpression
to create function specializations. It does not prevent other uses of the constant value during code generation.