Repository navigation
chore(deps): bump optimized go-ruby-* stdlib pins (regexp/json/prime/base64/set/complex/rational/ipaddr/stringio/bigdecimal/digest/zlib) - #123
Merged
Conversation
…base64/set/complex/rational/ipaddr/stringio/bigdecimal/digest/zlib) Bump the pseudo-version pins for the go-ruby-* stdlib libraries that were optimized to beat MRI+YJIT, so the interpreter path inherits the wins: regexp fa3d6604e1ee -> c52ca89ccd08 (match + compile) json 96013117f0d5 -> 3c4f2e0302d2 (parse; Builder no longer pre-scans counts) prime 9274dca78d88 -> 08f6fe218cd4 (prime?) base64 5dec54f20f53 -> 2194be98969e (decode) set ab6a8a92a910 -> 246794df3ec2 (specialized hash) ipaddr 78ca85dc054b -> c9957c9959e1 (native u128) bigdecimal 660c01ff39c4 -> 06e4422c5207 (alloc) digest e22d22431111 -> 4332315c5957 (wrapper) zlib dbf176c108fc -> ca391423d5da (crc32) Transitive: go-simd/base64 bumped, go-simd/adler32 added (pulled by the optimized base64/zlib libs). complex/rational/stringio are implemented natively in rbgo (not imported as go-ruby-* modules), so there is no pin to bump for those. The json Builder size-hint concern (BeginArray/BeginObject n may now be 0) is a no-op here: the binding uses make([]Value, 0, n) which is valid for n == 0. Build, vet, full test suite (incl. internal/vm bindings) and the differential oracle (rbgo vs MRI/JRuby/TruffleRuby) all pass; interpreter runs real Ruby identically. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the pseudo-version pins for the go-ruby-* stdlib libraries that were optimized to beat MRI+YJIT, so the interpreter path inherits the wins.
Pins bumped (9)
Transitive:
go-simd/base64bumped,go-simd/adler32added (pulled by the optimized base64/zlib libs).Not bumped
complex,rational,stringioare implemented natively in rbgo (nogo-ruby-*module is imported for them), so there is no pin to bump.json Builder n=0 concern
The parser no longer pre-scans element counts, so
Builder.BeginArray/BeginObject'snsize-hint can now be0. The binding usesmake([]Value, 0, n), which is valid forn == 0(the slice simply grows on append) — no code change required.Verification
GOWORK=off go build ./... && go vet ./...cleango test ./...(incl.internal/vmbindings, run with-count=1) all greenThe interpreter runs real Ruby identically.
🤖 Generated with Claude Code