Module poker::evaluate::static_lookup [−][src]
This module is available under the non-default static_lookup
feature and
offers similar functionality to the Evaluator
type, but evaluate
comes as a free function. The main difference is that the evaluate
uses
a static lookup table, built into the library.
Because the static
lookup table doesn’t allocate any memory on the heap,
this module may become the foundation for providing no_std
support in the
future.
Warning: Enabling the static_lookup
feature will greatly increase the
size of the resulting library.
Functions
evaluate | Evaluate a hand using the static lookup table bundled with the library.
This function takes anything that implements |