1.1 KiB
1.1 KiB
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. |