speed up large arrays

pull/1/head
Joel Vandergriendt 7 years ago
parent 2f6c919986
commit a2fdcc20e0
  1. 3
      tiny-json.h

@ -43,7 +43,10 @@ typedef struct json_s {
char const* name; char const* name;
union { union {
char const* value; char const* value;
struct {
struct json_s* child; struct json_s* child;
struct json_s* last_child;
};
} u; } u;
jsonType_t type; jsonType_t type;
} json_t; } json_t;

Loading…
Cancel
Save