You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by GitBox <gi...@apache.org> on 2026/05/20 10:37:00 UTC

[GH] (pekko/optimize-split-handler-fusion): Workflow run "Scalafmt" is working again!

The GitHub Actions job "Scalafmt" on pekko.git/optimize-split-handler-fusion has succeeded.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
f9f03708b540cd9914018780447e2818434cc6c2 / He-Pin <he...@gmail.com>
Fuse InHandler/OutHandler into GraphStageLogic to reduce allocations

Optimize several stream stages by fusing separate InHandler/OutHandler
objects into the GraphStageLogic itself, reducing per-materialization
memory allocations:

1. DoOnFirst: Replace separate InHandler with boolean flag pattern
2. Intersperse: Merge two InHandler objects (start/rest) into single fused handler
3. Reduce: Eliminate initial InHandler by using hasFirst flag
4. DropWithin: Replace post-timeout InHandler with timedOut flag
5. Scan: Remove initial InHandler/OutHandler pair using initialized flag
6. ScanAsync: Remove ZeroHandler and post-completion OutHandler

Tests:
- stream-tests/testOnly FlowDoOnFirstSpec: 2/2 passed
- stream-tests/testOnly FlowIntersperseSpec: 8/8 passed
- stream-tests/testOnly FlowReduceSpec: 12/12 passed
- stream-tests/testOnly FlowDropWithinSpec: 2/2 passed
- stream-tests/testOnly FlowScanSpec: 8/8 passed
- stream-tests/testOnly FlowScanAsyncSpec: 19/19 passed

Report URL: https://github.com/apache/pekko/actions/runs/26156887595

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org