Skip to content

Commit

Permalink
Update simdjson to 3.10.1 (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
FourierTransformer authored Sep 16, 2024
1 parent 789d08a commit eab3aab
Show file tree
Hide file tree
Showing 5 changed files with 224 additions and 208 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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.

Current simdjson version: 3.10.0
Current simdjson version: 3.10.1

## Installation
If all the requirements are met, lua-simdjson can be install via luarocks with:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package="lua-simdjson"
version="0.0.4-1"
version="0.0.5-1"
source = {
url = "git://github.com/FourierTransformer/lua-simdjson",
tag = "0.0.4"
tag = "0.0.5"
}
description = {
summary = "This is a simple Lua binding for simdjson",
Expand Down
2 changes: 1 addition & 1 deletion src/luasimdjson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "luasimdjson.h"

#define LUA_SIMDJSON_NAME "simdjson"
#define LUA_SIMDJSON_VERSION "0.0.4"
#define LUA_SIMDJSON_VERSION "0.0.5"

using namespace simdjson;

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

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

#define simdjson_really_inline __forceinline
#define simdjson_never_inline __declspec(noinline)
Expand Down Expand Up @@ -370,6 +372,8 @@ double from_chars(const char *first, const char* end) noexcept;
#define SIMDJSON_POP_DISABLE_UNUSED_WARNINGS

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

#define simdjson_really_inline inline __attribute__((always_inline))
#define simdjson_never_inline inline __attribute__((noinline))
Expand Down
Loading

0 comments on commit eab3aab

Please sign in to comment.