Skip to content

Clean up todos in traversal builder#3371

Open
Philippus wants to merge 4 commits into
apache:mainfrom
Philippus:clean-up-todos-in-traversal-builder
Open

Clean up todos in traversal builder#3371
Philippus wants to merge 4 commits into
apache:mainfrom
Philippus:clean-up-todos-in-traversal-builder

Conversation

@Philippus

Copy link
Copy Markdown
Member

No description provided.

cannot use a linear builder, as it does not support later additions through the `add`-method
unclear how removing the cachedEmptyLinear has benefits
`outOwners = outOwners - out` not being present in the else branch seems to be an omission
@Philippus
Philippus force-pushed the clean-up-todos-in-traversal-builder branch from 2c078dd to 03ac475 Compare July 20, 2026 18:33
@He-Pin

He-Pin commented Jul 20, 2026

Copy link
Copy Markdown
Member

better with jmh numbers

@He-Pin He-Pin added the t:stream Pekko Streams label Jul 21, 2026
@He-Pin He-Pin added this to the 2.0.0-M4 milestone Jul 21, 2026
@He-Pin

He-Pin commented Jul 21, 2026

Copy link
Copy Markdown
Member

Not sure about whether an additional map operation will reduce performance.

@He-Pin He-Pin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will reduce some performance ? the code is correct.

@He-Pin He-Pin removed this from the 2.0.0-M4 milestone Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t:stream Pekko Streams

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants