diff --git a/README.md b/README.md index a2e85b0..aa08b56 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,7 @@ lookup: --- -### Performance (https://godbolt.org/z/MjMzG9zvE) +### Performance (https://godbolt.org/z/x3Y984MTj) ```cpp int main(int, const char** argv) { @@ -254,7 +254,7 @@ time $CXX -std=c++20 -O3 mph_int_1024.cpp -c -DDISABLE_STATIC_ASSERT_TESTS # 0. time $CXX -std=c++20 -O3 mph_int_1024.cpp -c # 0.141s ``` -> [6548 string key/value pairs] (https://godbolt.org/z/6q44dhq6c) +> [6548 string key/value pairs] (https://godbolt.org/z/x3Y984MTj) ```cpp time $CXX -std=c++20 -O3 mph_str_6548.cpp -c -DDISABLE_STATIC_ASSERT_TESTS # 2.821s @@ -424,7 +424,7 @@ template{}> > Configuration ```cpp -#define MPH 2'3'0 // Current library version (SemVer) +#define MPH 2'4'0 // Current library version (SemVer) #define MPH_PAGE_SIZE 4096u // If set __builtin_memcpy(data, sizeof(T)) & bzhi(size) // If not __builtin_memcpy(data, size) ``` @@ -562,7 +562,7 @@ template{}> CPMAddPackage( Name mph GITHUB_REPOSITORY boost-ext/mph - GIT_TAG v2.3.0 + GIT_TAG v2.4.0 ) add_library(mph INTERFACE) target_include_directories(mph SYSTEM INTERFACE ${mph_SOURCE_DIR}) diff --git a/mph b/mph index e4960d9..9076d09 100644 --- a/mph +++ b/mph @@ -6,13 +6,13 @@ // http://www.boost.org/LICENSE_1_0.txt) // #ifndef MPH -#define MPH 2'3'0 // SemVer +#define MPH 2'4'0 // SemVer #pragma GCC system_header /** * [Minimal] Perfect hash library (https://github.com/boost-ext/mph) */ -namespace mph::inline v2_3_0 { +namespace mph::inline v2_4_0 { using u8 = __UINT8_TYPE__; using u16 = __UINT16_TYPE__; using u32 = __UINT32_TYPE__;