From 5395aacb8b63db4bd3bd14f87f63da56a711d779 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Tue, 17 Mar 2026 12:39:07 -0400 Subject: [PATCH] v4.4.1 --- CMakeLists.txt | 2 +- Doxyfile | 2 +- include/simdjson/simdjson_version.h | 4 ++-- singleheader/simdjson.cpp | 2 +- singleheader/simdjson.h | 30 ++++++++++++++-------------- singleheader/singleheader.zip | Bin 10373290 -> 10373562 bytes 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c09091b37..19a0e6fbc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ endif() project( simdjson # The version number is modified by tools/release.py - VERSION 4.4.0 + VERSION 4.4.1 DESCRIPTION "Parsing gigabytes of JSON per second" HOMEPAGE_URL "https://simdjson.org/" LANGUAGES CXX C diff --git a/Doxyfile b/Doxyfile index c3ce3530e..286cda1b9 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = simdjson # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = "4.4.0" +PROJECT_NUMBER = "4.4.1" # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/include/simdjson/simdjson_version.h b/include/simdjson/simdjson_version.h index ac6fa428b..098c729be 100644 --- a/include/simdjson/simdjson_version.h +++ b/include/simdjson/simdjson_version.h @@ -4,7 +4,7 @@ #define SIMDJSON_SIMDJSON_VERSION_H /** The version of simdjson being used (major.minor.revision) */ -#define SIMDJSON_VERSION "4.4.0" +#define SIMDJSON_VERSION "4.4.1" namespace simdjson { enum { @@ -19,7 +19,7 @@ enum { /** * The revision (major.minor.REVISION) of simdjson being used. */ - SIMDJSON_VERSION_REVISION = 0 + SIMDJSON_VERSION_REVISION = 1 }; } // namespace simdjson diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp index 607978f31..92c3ad3b5 100644 --- a/singleheader/simdjson.cpp +++ b/singleheader/simdjson.cpp @@ -1,4 +1,4 @@ -/* auto-generated on 2026-03-12 20:40:43 -0400. version 4.4.0 Do not edit! */ +/* auto-generated on 2026-03-17 12:38:11 -0400. version 4.4.1 Do not edit! */ /* including simdjson.cpp: */ /* begin file simdjson.cpp */ #define SIMDJSON_SRC_SIMDJSON_CPP diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h index a60bff4a2..97e7cb2d2 100644 --- a/singleheader/simdjson.h +++ b/singleheader/simdjson.h @@ -1,4 +1,4 @@ -/* auto-generated on 2026-03-12 20:40:43 -0400. version 4.4.0 Do not edit! */ +/* auto-generated on 2026-03-17 12:38:11 -0400. version 4.4.1 Do not edit! */ /* including simdjson.h: */ /* begin file simdjson.h */ #ifndef SIMDJSON_H @@ -2538,7 +2538,7 @@ namespace std { #define SIMDJSON_SIMDJSON_VERSION_H /** The version of simdjson being used (major.minor.revision) */ -#define SIMDJSON_VERSION "4.4.0" +#define SIMDJSON_VERSION "4.4.1" namespace simdjson { enum { @@ -2553,7 +2553,7 @@ enum { /** * The revision (major.minor.REVISION) of simdjson being used. */ - SIMDJSON_VERSION_REVISION = 0 + SIMDJSON_VERSION_REVISION = 1 }; } // namespace simdjson @@ -5059,7 +5059,7 @@ simdjson_inline padded_memory_map::padded_memory_map(const char *filename) noexc close(fd); return; // failed to get file size, data will be nullptr } - size = (size_t)st.st_size; + size = static_cast(st.st_size); size_t total_size = size + simdjson::SIMDJSON_PADDING; void *anon_map = mmap(NULL, total_size, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); @@ -5074,13 +5074,13 @@ simdjson_inline padded_memory_map::padded_memory_map(const char *filename) noexc close(fd); return; // failed to mmap file, data will be nullptr } - data = (const char *)file_map; + data = static_cast(file_map); close(fd); // no longer needed after mapping } simdjson_inline padded_memory_map::~padded_memory_map() noexcept { if (data != nullptr) { - munmap((void *)data, size + simdjson::SIMDJSON_PADDING); + munmap(const_cast(data), size + simdjson::SIMDJSON_PADDING); } } @@ -39749,7 +39749,7 @@ simdjson_warn_unused simdjson_result extract_fractured_json( #define SIMDJSON_EXPERIMENTAL_HAS_RVV 1 #endif #endif -#if defined(__PPC64__) || defined(_M_PPC64) +#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__) #ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64 #define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1 #endif @@ -41832,7 +41832,7 @@ simdjson_warn_unused simdjson_result extract_fractured_json( #define SIMDJSON_EXPERIMENTAL_HAS_RVV 1 #endif #endif -#if defined(__PPC64__) || defined(_M_PPC64) +#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__) #ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64 #define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1 #endif @@ -44402,7 +44402,7 @@ simdjson_warn_unused simdjson_result extract_fractured_json( #define SIMDJSON_EXPERIMENTAL_HAS_RVV 1 #endif #endif -#if defined(__PPC64__) || defined(_M_PPC64) +#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__) #ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64 #define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1 #endif @@ -46972,7 +46972,7 @@ simdjson_warn_unused simdjson_result extract_fractured_json( #define SIMDJSON_EXPERIMENTAL_HAS_RVV 1 #endif #endif -#if defined(__PPC64__) || defined(_M_PPC64) +#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__) #ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64 #define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1 #endif @@ -49657,7 +49657,7 @@ simdjson_warn_unused simdjson_result extract_fractured_json( #define SIMDJSON_EXPERIMENTAL_HAS_RVV 1 #endif #endif -#if defined(__PPC64__) || defined(_M_PPC64) +#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__) #ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64 #define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1 #endif @@ -52659,7 +52659,7 @@ simdjson_warn_unused simdjson_result extract_fractured_json( #define SIMDJSON_EXPERIMENTAL_HAS_RVV 1 #endif #endif -#if defined(__PPC64__) || defined(_M_PPC64) +#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__) #ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64 #define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1 #endif @@ -55135,7 +55135,7 @@ simdjson_warn_unused simdjson_result extract_fractured_json( #define SIMDJSON_EXPERIMENTAL_HAS_RVV 1 #endif #endif -#if defined(__PPC64__) || defined(_M_PPC64) +#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__) #ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64 #define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1 #endif @@ -57634,7 +57634,7 @@ simdjson_warn_unused simdjson_result extract_fractured_json( #define SIMDJSON_EXPERIMENTAL_HAS_RVV 1 #endif #endif -#if defined(__PPC64__) || defined(_M_PPC64) +#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__) #ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64 #define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1 #endif @@ -60137,7 +60137,7 @@ simdjson_warn_unused simdjson_result extract_fractured_json( #define SIMDJSON_EXPERIMENTAL_HAS_RVV 1 #endif #endif -#if defined(__PPC64__) || defined(_M_PPC64) +#if (defined(__PPC64__) || defined(_M_PPC64)) && defined(__ALTIVEC__) #ifndef SIMDJSON_EXPERIMENTAL_HAS_PPC64 #define SIMDJSON_EXPERIMENTAL_HAS_PPC64 1 #endif diff --git a/singleheader/singleheader.zip b/singleheader/singleheader.zip index cba1740b6905185e222959727f137160a831f1ba..2b6bab7f22b68670087b3162f2b0ceaca0bd0901 100644 GIT binary patch delta 1296 zcmajfTTD}T90zcz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