-
Notifications
You must be signed in to change notification settings - Fork 365
Comparing changes
Open a pull request
base repository: ruby/json
base: v2.18.0
head repository: ruby/json
compare: v2.18.1
- 17 commits
- 12 files changed
- 6 contributors
Commits on Dec 11, 2025
-
Revert "Skip test failing with JRuby in CI"
This reverts commit b7e1734.
Configuration menu - View commit details
-
Copy full SHA for 5793694 - Browse repository at this point
Copy the full SHA 5793694View commit details
Commits on Dec 18, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 4808fee - Browse repository at this point
Copy the full SHA 4808feeView commit details
Commits on Dec 22, 2025
-
Configuration menu - View commit details
-
Copy full SHA for a5c160f - Browse repository at this point
Copy the full SHA a5c160fView commit details
Commits on Dec 31, 2025
-
Keep track of the the number of additional backslashes to avoid an ex…
…tra memchr searching the remaining characters when no more backslashes exist.
Configuration menu - View commit details
-
Copy full SHA for d21d936 - Browse repository at this point
Copy the full SHA d21d936View commit details -
Co-Authored-By: Jean Boussier <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 976ba36 - Browse repository at this point
Copy the full SHA 976ba36View commit details -
A plain `char` may be `signed` or `unsigned` depending on the implementation. Also, bitwise ORing of `signed` values is not guaranteed to be `signed`. To ensure portability, should logical-OR each comparison, but casting to `signed char` is usually sufficient.
Configuration menu - View commit details
-
Copy full SHA for 8ad744c - Browse repository at this point
Copy the full SHA 8ad744cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e23e57 - Browse repository at this point
Copy the full SHA 3e23e57View commit details
Commits on Jan 3, 2026
-
Configuration menu - View commit details
-
Copy full SHA for a51317c - Browse repository at this point
Copy the full SHA a51317cView commit details
Commits on Jan 14, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 86a5cce - Browse repository at this point
Copy the full SHA 86a5cceView commit details -
initialize search.chunk_end to silence a warning about it being poten…
…tially uninitialized
Configuration menu - View commit details
-
Copy full SHA for 73818b8 - Browse repository at this point
Copy the full SHA 73818b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15eb40d - Browse repository at this point
Copy the full SHA 15eb40dView commit details
Commits on Jan 16, 2026
-
Use __builtin_memcpy, if available, to copy overlapping byte ranges i…
…n copy_remaining_bytes to avoid a branch to MEMCPY. Additionally use a space as padding byte instead of an 'X' so it can be represented diretly on AArch64 with a single instruction.
Configuration menu - View commit details
-
Copy full SHA for 643ee11 - Browse repository at this point
Copy the full SHA 643ee11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b276c8 - Browse repository at this point
Copy the full SHA 1b276c8View commit details
Commits on Jan 22, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 062fcdd - Browse repository at this point
Copy the full SHA 062fcddView commit details
Commits on Feb 3, 2026
-
Ensure
Generator::Stateis kept on the stackFix: #929 When calling `cState_partial_generate` from `mHash_to_json` or other `to_json` funcs, `VState` becomes unreachable very quickly, hence the compiler may optimize it out of the stack, and make it invisible to the GC stack scanning. This is particularly liekly given how aggressively we inline. Repro: ```ruby require 'json' test_data = { "flag" => true, "data" => 10000.times.map { [1.0] }, :flag => false, } 10.times do test_data.to_json end ``` But in practice the cause was just that the issued warning calls Hash#inspect on a big hash, which triggers GC. So it can be triggered even more reliably with: ```ruby require 'json' module JSON module Common def self.on_mixed_keys_hash(...) GC.start end end end test_data = { "flag" => true, "data" => 10000.times.map { [1.0] }, :flag => false, } test_data.to_json ```
Configuration menu - View commit details
-
Copy full SHA for 79b6e16 - Browse repository at this point
Copy the full SHA 79b6e16View commit details -
Configuration menu - View commit details
-
Copy full SHA for fff25c9 - Browse repository at this point
Copy the full SHA fff25c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ec6e7b - Browse repository at this point
Copy the full SHA 6ec6e7bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.18.0...v2.18.1