Skip to content

Improvement: BF dependency selector hot methods#1882

Merged
cstamas merged 1 commit into
apache:masterfrom
cstamas:selector-simplify
May 27, 2026
Merged

Improvement: BF dependency selector hot methods#1882
cstamas merged 1 commit into
apache:masterfrom
cstamas:selector-simplify

Conversation

@cstamas
Copy link
Copy Markdown
Member

@cstamas cstamas commented May 19, 2026

BF selector creates many complex objects just to toss them away. Reason was flawed filter method, that required complete prepared context only to toss it away, if needed.

Revert the logic: test dependencySelector (if present) with upcoming dependency and only if accepted, continue with complex object creation.

BF selector creates many complex objects just to toss them away.
Reason was flawed filter method, that required complete prepared
context only to toss it away, if needed.

Revert the logic: test dependencySelector (if present) with
upcoming dependency and only if accepted, continue with complex
object creation.
@cstamas cstamas self-assigned this May 19, 2026
@cstamas cstamas added this to the 2.0.19 milestone May 19, 2026
@cstamas cstamas added the enhancement New feature or request label May 19, 2026
@cstamas cstamas marked this pull request as ready for review May 19, 2026 19:48
@cstamas cstamas merged commit 560ce1a into apache:master May 27, 2026
14 checks passed
@cstamas cstamas deleted the selector-simplify branch May 27, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant