Skip to content

SIMD Algorithms v1.0.1

Compare
Choose a tag to compare
@MrUnbelievable92 MrUnbelievable92 released this 17 Apr 23:59

Fixes

  • fixed "SIMD_IndexOf" functions for bool arrays
  • fixed infinite loops in "SIMD_Sum"

Additions

  • added "SIMD_IndexOf" functions which traverse arrays in reverse order. These are called through the already written "SIMD_IndexOf" functions with another enum parameter "TraversalOrder.Ascending/Descending", which is set to "TraversalOrder.Ascending" by default
  • added "SIMD_Contains" functions which traverse arrays in reverse order. These are called through the already written "SIMD_Contains" functions with another enum parameter"TraversalOrder.Ascending/Descending", which is set to "TraversalOrder.Ascending" by default
  • added fast "SIMD_Sum" for float- and double arrays. These These are called through the already written "SIMD_Sum" functions with another enum parameter "Unity.Burst.FloatMode", which is set to "Unity.Burst.FloatMode.Strict" by default

Improvements

  • added array bounds checks to all extension methods which take any "index" and/or "numEntires" parameters as arguments
  • some small code size and performance improvements throughout the library