https://github.com/superauguste/dance
Cool SIMD functions in Zig 😎
https://github.com/superauguste/dance
Last synced: 9 months ago
JSON representation
Cool SIMD functions in Zig 😎
- Host: GitHub
- URL: https://github.com/superauguste/dance
- Owner: SuperAuguste
- Created: 2021-07-03T21:55:40.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-28T15:35:53.000Z (almost 5 years ago)
- Last Synced: 2025-04-15T01:46:00.527Z (about 1 year ago)
- Language: Zig
- Size: 11.7 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dance
dance is a collection of powerful SIMD-optimized functions suited for daily use. I don't know why I called it dance either, I think I was just really tired when I came up with the name.
## Functions
### indexOfScalar
Finds the first index of a value in a slice.
### parseInt
Parses an integer of a comptime-known length and radix.
## Benchmarks
First, download the Bee Movie script [here](https://gist.github.com/ElliotGluck/64b0b814293c09999f765e265aaa2ba1). Then, rename it to `bee_movie.txt` and place it in the benchmark folder.