rename product_is_valid to product_is_valid_slow
This commit is contained in:
+5
-3
@@ -5,14 +5,16 @@
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
bool product_is_valid(
|
||||
// product_is_valid_slow is Sega's implementation; product_is_valid_fast
|
||||
// produces identical results but is about 7000 times faster.
|
||||
bool product_is_valid_slow(
|
||||
const std::string& s, uint8_t domain, uint8_t subdomain = 0xFF);
|
||||
bool product_is_valid_fast(
|
||||
const std::string& s, uint8_t domain, uint8_t subdomain = 0xFF);
|
||||
bool product_is_valid_fast(
|
||||
uint32_t product, uint8_t domain, uint8_t subdomain);
|
||||
uint32_t product, uint8_t domain, uint8_t subdomain = 0xFF);
|
||||
bool decoded_product_is_valid_fast(
|
||||
uint32_t product, uint8_t domain, uint8_t subdomain);
|
||||
uint32_t product, uint8_t domain, uint8_t subdomain = 0xFF);
|
||||
|
||||
std::string generate_product(uint8_t domain, uint8_t subdomain = 0xFF);
|
||||
std::unordered_map<uint32_t, std::string> generate_all_products(uint8_t domain = 0xFF, uint8_t subdomain = 0xFF);
|
||||
|
||||
Reference in New Issue
Block a user