Crates.io | riichi-decomp-table |
lib.rs | riichi-decomp-table |
version | 0.1.0 |
source | src |
created_at | 2022-10-08 08:38:45.039187 |
updated_at | 2022-10-08 08:38:45.039187 |
description | Lookup Table Generation for `riichi-decomp` |
homepage | |
repository | https://github.com/summivox/riichi-rs |
max_upload_size | |
id | 683405 |
size | 25,006 |
riichi-decomp
This crate is NOT intended as a public interface. riichi-decomp
should be used instead.
This crate contains algorithms for generating two lookup tables (LUTs). These LUTs speed up decomposition of a waiting
hand into "standard" or "regular" form, i.e. not Seven Pairs or Thirteen Orphans. Separating the generation from the
main crate makes it possible to call it at compile time through build.rs
.
For a more detailed explanation, please refer to the source.
u32
. (this is basically one element of
TileSet34::packed
from riichi-elements
).nanovec::NanoStackBit
]
and [nanovec::NanoArrayBit
].C-Table
nanovec::NanoStackRadix
].