backgammon-simd

Crates.iobackgammon-simd
lib.rsbackgammon-simd
version0.1.1
created_at2023-10-01 01:02:51.182909+00
updated_at2023-10-01 01:09:53.353424+00
descriptionType-safe valid move generator for backgammon using SIMD instructions. Useful for e.g. ML stuff.
homepagehttps://github.com/valyagolev/backgammon-simd
repositoryhttps://github.com/valyagolev/backgammon-simd
max_upload_size
id988964
size57,479
Valentin Golev (valyagolev)

documentation

https://docs.rs/backgammon-simd/

README

backgammon-simd

Crate Info API Docs

Type-safe valid move generator for backgammon using SIMD instructions. Useful for e.g. ML stuff.

Also has a (slow?) random board generator as a useful utility.

Doesn't handle cubes and matches.

Is it actually very fast? Probably not. Currently takes 7µs per board on my slow box (~140k/s). Let me know who to compete with. But it's nice to use and doesn't feel like a complete waste, performance-wise.

I only tested it using nightly, it wants #![feature(portable_simd)].

Probably a lot of room for improvement ;-)

Commit count: 4

cargo fmt