haitaka-types 0.1.2

Internal data types library for haitaka
Documentation
  • Coverage
  • 95.42%
    271 out of 284 items documented63 out of 129 items with examples
  • Size
  • Source code size: 128.44 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 8.93 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • tofutofu/haitaka
    5 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tofutofu

haitaka-types ハイタカ型

Internal package for haitaka

This package defines the core data types used in haitaka. It's not intended as stand-alone library (though nothing will prevent you from using it like that).

Splitting off the data types into a separate crate allows haitaka to run a build script to generate slider move hash tables used in move generation based on magic bitboard. Without a separate crate to run against the build script would have to duplicate quite a bit of code or the library would need a separate initialization function -- either as a hidden, lazy initialization or as an explicit initialization step. Both those alternatives are less than ideal.

Setting up a separate crate also ensures a clearer separation of concerns making the codebase easier to maintain, test, and extend.