We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f9b74 commit f228b30Copy full SHA for f228b30
ext/json/ext/parser/parser.c
@@ -790,11 +790,11 @@ static VALUE json_decode_large_integer(const char *start, long len)
790
static inline VALUE
791
json_decode_integer(const char *start, const char *end)
792
{
793
- long len = end - start;
794
- if (RB_LIKELY(len < MAX_FAST_INTEGER_SIZE)) {
795
- return fast_decode_integer(start, end);
796
- }
797
- return json_decode_large_integer(start, len);
+ long len = end - start;
+ if (RB_LIKELY(len < MAX_FAST_INTEGER_SIZE)) {
+ return fast_decode_integer(start, end);
+ }
+ return json_decode_large_integer(start, len);
798
}
799
800
static VALUE json_decode_large_float(const char *start, long len)
0 commit comments