You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Separate the read and write IDs of array plugins - #11057
Bottom of the decimal Widen stack. #11002 builds on it. No release gate.
Summary
A plugin can need another encoding's wire form without taking over its reader. serialized_ids() currently serves both jobs, so a Widen writer cannot emit a narrow decimal node while preserving the decimal reader.
Changes
Reader registration now uses read_ids(), while serialization validates its output against write_ids(). A writing session does not need a reader for every ID it writes. Existing plugins keep their current IDs, and tests cover reader ownership and the two validation contracts. LayoutPlugin is unchanged.
API Changes
Replaces ArrayPlugin::serialized_ids() with required read_ids() and write_ids() methods, with no defaults. Read IDs stay ordered oldest to newest.
⚠️3 benchmarks with a significant change ran in a different software environment
Their base and head results were measured with a different OS or toolchain, such as compiler, runtime or library versions, so the changes might come from this difference rather than from the code. Open an affected benchmark to see what changed.
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
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.
Tracking Issue: #10701
Bottom of the decimal
Widenstack. #11002 builds on it. No release gate.Summary
A plugin can need another encoding's wire form without taking over its reader.
serialized_ids()currently serves both jobs, so aWidenwriter cannot emit a narrow decimal node while preserving the decimal reader.Changes
Reader registration now uses
read_ids(), while serialization validates its output againstwrite_ids(). A writing session does not need a reader for every ID it writes. Existing plugins keep their current IDs, and tests cover reader ownership and the two validation contracts.LayoutPluginis unchanged.API Changes
Replaces
ArrayPlugin::serialized_ids()with requiredread_ids()andwrite_ids()methods, with no defaults. Read IDs stay ordered oldest to newest.