Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIMD-Algorithms

This package contains some of the most common array algorithms which are either auto-vectorized very poorly (like summing up unsigned bytes) or not auto vectorized at all (Contains, IndexOf, etc.).

All included functions have a "SIMD_" prefix added to their name.

There is a base version of each algorithm which takes in a pointer in the static "SIMDAlgorithms.Algorithms" class. There are extension methods of each algorithm for Unity.Collections' NativeArray, NativeSlice and NativeList aswell.

How To Install This Library

It is highly encouraged to use the Scoped Registries feature for installing SIMD-Algorithms.

Installing using Scoped Registries:

  • Open your Unity project.
  • Go to Edit → Project Settings → Package Manager.
  • Under Scoped Registries, click + to add a new registry.
  • Enter the registry details:
  • Click Save.
  • Open Window → Package Manager.
  • In the package list, select My Registries.
  • Install SIMD-Algorithms from the registry.

Donations

If this repository has been valuable to your projects and you'd like to support my work, consider making a donation.

donateBTC donatePP

About

A collection of hand optimized SIMD versions of common array algorithms for Unity.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages