Skip to content

FastSegmentInjectorModifier#685

Open
rbs-afflitto wants to merge 11 commits into
masterfrom
feature/fast_segment_injector
Open

FastSegmentInjectorModifier#685
rbs-afflitto wants to merge 11 commits into
masterfrom
feature/fast_segment_injector

Conversation

@rbs-afflitto
Copy link
Copy Markdown
Collaborator

@rbs-afflitto rbs-afflitto commented Jan 27, 2026

  • I have reviewed the OFRAK contributor guide and attest that this pull request is in accordance with it.
  • I have made or updated a changelog entry for the changes in this pull request.

One sentence summary of this PR (This should go in the CHANGELOG!)
Add FastSegmentInjectorModifier for optimized bulk segment injection

Link to Related Issue(s)
N/A

Please describe the changes in your request.
This PR adds FastSegmentInjectorModifier, a performance-optimized alternative to SegmentInjectorModifier. Instead of running BinaryInjectorModifier separately for each segment, it collects all segment patches and applies them in a single bulk operation. This modifier does NOT delete stale descendant resources after patching. The resource tree may be inconsistent after use. Use when performance is critical and resource tree consistency can be sacrificed.

Anyone you think should look at this, specifically?
@whyitfor

@paulnoalhyt paulnoalhyt mentioned this pull request Mar 3, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants