Skip to content

Commit 4b5de58

Browse files
committed
Update simdjson to 4.6.5
1 parent 081ec5b commit 4b5de58

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

3rdparty/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241

242242
## simdjson
243243
- [![Upstream](https://img.shields.io/github/v/tag/simdjson/simdjson?label=Upstream)](https://github.com/simdjson/simdjson)
244-
- Version: 4.6.4
244+
- Version: 4.6.5
245245
- License: Apache-2.0
246246

247247
## stb (stb_image)

3rdparty/simdjson/simdjson.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2026-05-06 17:28:39 -0400. version 4.6.4 Do not edit! */
1+
/* auto-generated on 2026-07-29 09:06:16 -0400. version 4.6.5 Do not edit! */
22
/* including simdjson.cpp: */
33
/* begin file simdjson.cpp */
44
#define SIMDJSON_SRC_SIMDJSON_CPP

3rdparty/simdjson/simdjson.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2026-05-06 17:28:39 -0400. version 4.6.4 Do not edit! */
1+
/* auto-generated on 2026-07-29 09:06:16 -0400. version 4.6.5 Do not edit! */
22
/* including simdjson.h: */
33
/* begin file simdjson.h */
44
#ifndef SIMDJSON_H
@@ -2538,7 +2538,7 @@ namespace std {
25382538
#define SIMDJSON_SIMDJSON_VERSION_H
25392539

25402540
/** The version of simdjson being used (major.minor.revision) */
2541-
#define SIMDJSON_VERSION "4.6.4"
2541+
#define SIMDJSON_VERSION "4.6.5"
25422542

25432543
namespace simdjson {
25442544
enum {
@@ -2553,7 +2553,7 @@ enum {
25532553
/**
25542554
* The revision (major.minor.REVISION) of simdjson being used.
25552555
*/
2556-
SIMDJSON_VERSION_REVISION = 4
2556+
SIMDJSON_VERSION_REVISION = 5
25572557
};
25582558
} // namespace simdjson
25592559

@@ -72547,7 +72547,7 @@ simdjson_inline parser::parser(size_t max_capacity) noexcept
7254772547

7254872548
simdjson_warn_unused simdjson_inline error_code parser::allocate(size_t new_capacity, size_t new_max_depth) noexcept {
7254972549
if (new_capacity > max_capacity()) { return CAPACITY; }
72550-
if (string_buf && new_capacity == capacity() && new_max_depth == max_depth()) { return SUCCESS; }
72550+
if (string_buf && new_capacity <= capacity() && new_max_depth <= max_depth()) { return SUCCESS; }
7255172551

7255272552
// string_capacity copied from document::allocate
7255372553
_capacity = 0;
@@ -85917,7 +85917,7 @@ simdjson_inline parser::parser(size_t max_capacity) noexcept
8591785917

8591885918
simdjson_warn_unused simdjson_inline error_code parser::allocate(size_t new_capacity, size_t new_max_depth) noexcept {
8591985919
if (new_capacity > max_capacity()) { return CAPACITY; }
85920-
if (string_buf && new_capacity == capacity() && new_max_depth == max_depth()) { return SUCCESS; }
85920+
if (string_buf && new_capacity <= capacity() && new_max_depth <= max_depth()) { return SUCCESS; }
8592185921

8592285922
// string_capacity copied from document::allocate
8592385923
_capacity = 0;
@@ -99774,7 +99774,7 @@ simdjson_inline parser::parser(size_t max_capacity) noexcept
9977499774

9977599775
simdjson_warn_unused simdjson_inline error_code parser::allocate(size_t new_capacity, size_t new_max_depth) noexcept {
9977699776
if (new_capacity > max_capacity()) { return CAPACITY; }
99777-
if (string_buf && new_capacity == capacity() && new_max_depth == max_depth()) { return SUCCESS; }
99777+
if (string_buf && new_capacity <= capacity() && new_max_depth <= max_depth()) { return SUCCESS; }
9977899778

9977999779
// string_capacity copied from document::allocate
9978099780
_capacity = 0;
@@ -113631,7 +113631,7 @@ simdjson_inline parser::parser(size_t max_capacity) noexcept
113631113631

113632113632
simdjson_warn_unused simdjson_inline error_code parser::allocate(size_t new_capacity, size_t new_max_depth) noexcept {
113633113633
if (new_capacity > max_capacity()) { return CAPACITY; }
113634-
if (string_buf && new_capacity == capacity() && new_max_depth == max_depth()) { return SUCCESS; }
113634+
if (string_buf && new_capacity <= capacity() && new_max_depth <= max_depth()) { return SUCCESS; }
113635113635

113636113636
// string_capacity copied from document::allocate
113637113637
_capacity = 0;
@@ -127603,7 +127603,7 @@ simdjson_inline parser::parser(size_t max_capacity) noexcept
127603127603

127604127604
simdjson_warn_unused simdjson_inline error_code parser::allocate(size_t new_capacity, size_t new_max_depth) noexcept {
127605127605
if (new_capacity > max_capacity()) { return CAPACITY; }
127606-
if (string_buf && new_capacity == capacity() && new_max_depth == max_depth()) { return SUCCESS; }
127606+
if (string_buf && new_capacity <= capacity() && new_max_depth <= max_depth()) { return SUCCESS; }
127607127607

127608127608
// string_capacity copied from document::allocate
127609127609
_capacity = 0;
@@ -141892,7 +141892,7 @@ simdjson_inline parser::parser(size_t max_capacity) noexcept
141892141892

141893141893
simdjson_warn_unused simdjson_inline error_code parser::allocate(size_t new_capacity, size_t new_max_depth) noexcept {
141894141894
if (new_capacity > max_capacity()) { return CAPACITY; }
141895-
if (string_buf && new_capacity == capacity() && new_max_depth == max_depth()) { return SUCCESS; }
141895+
if (string_buf && new_capacity <= capacity() && new_max_depth <= max_depth()) { return SUCCESS; }
141896141896

141897141897
// string_capacity copied from document::allocate
141898141898
_capacity = 0;
@@ -155655,7 +155655,7 @@ simdjson_inline parser::parser(size_t max_capacity) noexcept
155655155655

155656155656
simdjson_warn_unused simdjson_inline error_code parser::allocate(size_t new_capacity, size_t new_max_depth) noexcept {
155657155657
if (new_capacity > max_capacity()) { return CAPACITY; }
155658-
if (string_buf && new_capacity == capacity() && new_max_depth == max_depth()) { return SUCCESS; }
155658+
if (string_buf && new_capacity <= capacity() && new_max_depth <= max_depth()) { return SUCCESS; }
155659155659

155660155660
// string_capacity copied from document::allocate
155661155661
_capacity = 0;
@@ -169441,7 +169441,7 @@ simdjson_inline parser::parser(size_t max_capacity) noexcept
169441169441

169442169442
simdjson_warn_unused simdjson_inline error_code parser::allocate(size_t new_capacity, size_t new_max_depth) noexcept {
169443169443
if (new_capacity > max_capacity()) { return CAPACITY; }
169444-
if (string_buf && new_capacity == capacity() && new_max_depth == max_depth()) { return SUCCESS; }
169444+
if (string_buf && new_capacity <= capacity() && new_max_depth <= max_depth()) { return SUCCESS; }
169445169445

169446169446
// string_capacity copied from document::allocate
169447169447
_capacity = 0;
@@ -183231,7 +183231,7 @@ simdjson_inline parser::parser(size_t max_capacity) noexcept
183231183231

183232183232
simdjson_warn_unused simdjson_inline error_code parser::allocate(size_t new_capacity, size_t new_max_depth) noexcept {
183233183233
if (new_capacity > max_capacity()) { return CAPACITY; }
183234-
if (string_buf && new_capacity == capacity() && new_max_depth == max_depth()) { return SUCCESS; }
183234+
if (string_buf && new_capacity <= capacity() && new_max_depth <= max_depth()) { return SUCCESS; }
183235183235

183236183236
// string_capacity copied from document::allocate
183237183237
_capacity = 0;

0 commit comments

Comments
 (0)