Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
### Fixes

- fixed "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 paraemter "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 paraemter "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 paraemter "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" paraemters as arguments
- some small code size and performance improvements throughout the library
  • Loading branch information
MrUnbelievable92 committed Apr 17, 2021
1 parent 69465f0 commit 97f0b5e
Show file tree
Hide file tree
Showing 16 changed files with 6,671 additions and 2,401 deletions.
4 changes: 2 additions & 2 deletions AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2020 - 2021 Maximilian Kalimon

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
205 changes: 165 additions & 40 deletions Runtime/Algorithms/Average.cs

Large diffs are not rendered by default.

2,534 changes: 1,846 additions & 688 deletions Runtime/Algorithms/Contains.cs

Large diffs are not rendered by default.

Loading

0 comments on commit 97f0b5e

Please sign in to comment.