Skip to content

Commit eab3aab

Browse files
Update simdjson to 3.10.1 (#91)
1 parent 789d08a commit eab3aab

File tree

5 files changed

+224
-208
lines changed

5 files changed

+224
-208
lines changed

README.md

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

44
A basic Lua binding to [simdjson](https://simdjson.org). The simdjson library is an incredibly fast JSON parser that uses SIMD instructions and fancy algorithms to parse JSON very quickly. It's been tested with LuaJIT 2.0/2.1 and Lua 5.1, 5.2, 5.3, and 5.4 on linux/osx/windows. It has a general parsing mode and a lazy mode that uses a JSON pointer.
55

6-
Current simdjson version: 3.10.0
6+
Current simdjson version: 3.10.1
77

88
## Installation
99
If all the requirements are met, lua-simdjson can be install via luarocks with:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package="lua-simdjson"
2-
version="0.0.4-1"
2+
version="0.0.5-1"
33
source = {
44
url = "git://github.com/FourierTransformer/lua-simdjson",
5-
tag = "0.0.4"
5+
tag = "0.0.5"
66
}
77
description = {
88
summary = "This is a simple Lua binding for simdjson",

src/luasimdjson.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "luasimdjson.h"
1616

1717
#define LUA_SIMDJSON_NAME "simdjson"
18-
#define LUA_SIMDJSON_VERSION "0.0.4"
18+
#define LUA_SIMDJSON_VERSION "0.0.5"
1919

2020
using namespace simdjson;
2121

src/simdjson.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2024-08-01 09:31:50 -0400. Do not edit! */
1+
/* auto-generated on 2024-08-26 09:37:03 -0400. Do not edit! */
22
/* including simdjson.cpp: */
33
/* begin file simdjson.cpp */
44
#define SIMDJSON_SRC_SIMDJSON_CPP
@@ -332,6 +332,8 @@ double from_chars(const char *first, const char* end) noexcept;
332332
#define SIMDJSON_ISALIGNED_N(ptr, n) (((uintptr_t)(ptr) & ((n)-1)) == 0)
333333

334334
#if SIMDJSON_REGULAR_VISUAL_STUDIO
335+
// We could use [[deprecated]] but it requires C++14
336+
#define simdjson_deprecated __declspec(deprecated)
335337

336338
#define simdjson_really_inline __forceinline
337339
#define simdjson_never_inline __declspec(noinline)
@@ -370,6 +372,8 @@ double from_chars(const char *first, const char* end) noexcept;
370372
#define SIMDJSON_POP_DISABLE_UNUSED_WARNINGS
371373

372374
#else // SIMDJSON_REGULAR_VISUAL_STUDIO
375+
// We could use [[deprecated]] but it requires C++14
376+
#define simdjson_deprecated __attribute__((deprecated))
373377

374378
#define simdjson_really_inline inline __attribute__((always_inline))
375379
#define simdjson_never_inline inline __attribute__((noinline))

0 commit comments

Comments
 (0)