The overwritten build profiles set the optimization level of build.rs to 3, which significantly speeds up the runtime of generating the lookup table. However, whenever importing playing-cards, these profiles are never applied to the build script.
Here are the runtimes of build.rs according to cargo-timings:
With opt-level=3: 33.69 seconds
By default: 338.37 seconds
Currently, the build script uses Sneeze's Perfect Hash evaluator to help generate the lookup table, but the original C implementation uses arithmetic overflow. Compiling it locally for tests work, but trying to include playing-cards then attempting to build it results in arithmetic overflow.