暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

optimization-overview.md 1.1KB

Optimization

Best practices around optimizing Burst-compiled code.

Topic Description
Debugging and profiling tools Debug and profile your Burst-compiled code in the Editor and in player builds.
Loop vectorization optimization Understand how Burst uses loop vectorization to optimize your code.
Memory aliasing Use memory aliasing to tell Burst how your code uses data.
AssumeRange attribute Use AssumeRange to tell Burst a given scalar-integer lies within a certain constrained range.
Hint intrinsic Use the Hint intrinsic to give Burst more information about your data.
Constant intrinsic Use IsConstantExpression top check if an expression is constant at run time.
SkipLocalsInit attribute Use SkipLocalsInitAttribute to tell Burst that any stack allocations within a method don’t have to be initialized to zero.

Additional resources