Conversation
Emit the equivalent prefix mutator for postfix increment and decrement in true void context. The old-value scalar cannot be observed there, so this avoids allocating it while preserving value-context postfix behavior. Add Perl-level coverage for native, string, undef, tied, overloaded, and value-context postfix behavior. Generated with Codex (https://openai.com/codex) Co-Authored-By: Codex <codex@openai.com>
fglock
force-pushed
the
perf/void-postincrement-20260918
branch
from
September 18, 2026 11:42
c861081 to
1b7e847
Compare
Owner
Author
|
Superseded by #1486. |
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.
Summary
++/--whose result is discarded in JVM void contextValidation
perl src/test/resources/unit/void_postfix_increment.t(standard Perl): passmake: pass (18 tasks, 6m49s)make check-links: pass (683 links, zero errors)Performance evidence
Two independently interleaved, normal-priority, fresh-process String screens against source-matched
72a2b43f0measured candidate/parent median throughput ratios of:The raw per-window JSON is retained under
/tmp/perf-void-postincrement-string-ab{1,2}-highpower-20260918on the measurement host. JFR confirms the intended mechanism: baseline samples inpostAutoIncrementbecomepreAutoIncrementin void context. This is focused evidence only, not a whole-portfolio parity claim.