-
-
Notifications
You must be signed in to change notification settings - Fork 260
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: ohler55/oj
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.16.13
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: ohler55/oj
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.16.14
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 13 commits
- 13 files changed
- 4 contributors
Commits on Dec 6, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 40176f1 - Browse repository at this point
Copy the full SHA 40176f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f30193f - Browse repository at this point
Copy the full SHA f30193fView commit details
Commits on Jan 7, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 7355146 - Browse repository at this point
Copy the full SHA 7355146View commit details
Commits on Jan 14, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 8da620b - Browse repository at this point
Copy the full SHA 8da620bView commit details
Commits on Jan 16, 2026
-
Configuration menu - View commit details
-
Copy full SHA for ce9cf6b - Browse repository at this point
Copy the full SHA ce9cf6bView commit details
Commits on Jan 27, 2026
-
Fix illegal instruction error on CPUs without SSE4.2 support (#993)
* Fix illegal instruction error on CPUs without SSE4.2 support This fixes issue #989 where oj 3.16.13 crashes with "Illegal instruction" on CPUs that don't support SSE4.2. The problem was that enabling -msse4.2 at compile time based on compiler support caused prebuilt gems to include SSE4.2 instructions even when the target CPU doesn't support them. Solution: - Use runtime CPU detection to select the appropriate SIMD implementation - Detection happens once during library initialization (no per-parse overhead) - Cross-platform support: GCC/Clang (__builtin_cpu_supports) and MSVC (__cpuid) - Function-level target attributes enable SIMD code without global flags - Portable macros (OJ_PREFETCH, OJ_CTZ, OJ_UNLIKELY) for cross-compiler support This is similar to the approach used by ruby/json for SIMD detection. Fixes #989 Co-Authored-By: Claude Opus 4.5 <[email protected]> * Fix clang-format style violations Co-Authored-By: Claude Opus 4.5 <[email protected]> * Address review feedback: remove __builtin_cpu_init(), add cpuid.h include - Remove unnecessary __builtin_cpu_init() call since we're not using IFUNCs - Add #include <cpuid.h> with __has_include guard for __get_cpuid fallback Co-Authored-By: Claude Opus 4.5 <[email protected]> --------- Co-authored-by: Claude Opus 4.5 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2e92056 - Browse repository at this point
Copy the full SHA 2e92056View commit details
Commits on Feb 3, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 8200d69 - Browse repository at this point
Copy the full SHA 8200d69View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e0b8a0 - Browse repository at this point
Copy the full SHA 8e0b8a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2839e60 - Browse repository at this point
Copy the full SHA 2839e60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e7e1ec - Browse repository at this point
Copy the full SHA 3e7e1ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e0260c - Browse repository at this point
Copy the full SHA 5e0260cView commit details
Commits on Feb 4, 2026
-
Optimize
oj_dump_cstrusing SSE4.2 and SSSE3. (#973)* Refactored and simplified the ARM Neon implementation. This optimizes the worst case synthetic benchmarks. * Move the definition of FORCE_INLINE out of the HAVE_SIMD_NEON block. * Formatting. * Renamed the expected real-world test data files. * Initial optimization of oj_dump_cstr using SSE4.2 on x86-64 platforms. * Refactor the code to reduce duplication. * SSE42 bugfixes. * Formatting. * Added SIMD_MINIMUM_THRESHOLD after accidentally removing it when merging the develop branch. * More fixes after merging develop into this branch. * clang-format * Refactor oj_dump_cstr to use runtime SIMD detection of SSE4. * Wrap SSE4.2 initialization code in an ifdef. * formatting
Configuration menu - View commit details
-
Copy full SHA for 88972f9 - Browse repository at this point
Copy the full SHA 88972f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0b0171 - Browse repository at this point
Copy the full SHA b0b0171View commit details
Loading
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 v3.16.13...v3.16.14