Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Merge extension only when patch executes #315

Merged
merged 2 commits into from
Oct 27, 2024

Conversation

oSumAtrIX
Copy link
Member

This PR changes how extensions are merged. Before, all extensions were merged unconditionally regardless of whether a patch succeeded. This was done to reduce memory overhead since the lookup map for the merge could be removed after all extensions were merged. Now, an extension of a patch is merged right before the patch is executed. This requires the lookup map to be kept in memory as long as the patches are executing. This should not be much of a problem. The maps are cleared after all patches were executed

@oSumAtrIX oSumAtrIX force-pushed the fix/merge-extensions-at-patch-execution branch from b0bd428 to 1f0eab3 Compare October 27, 2024 03:38
@oSumAtrIX oSumAtrIX merged commit aa472eb into dev Oct 27, 2024
2 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 27, 2024
# [21.0.0-dev.1](v20.0.2...v21.0.0-dev.1) (2024-10-27)

### Bug Fixes

* Merge extension only when patch executes ([#315](#315)) ([aa472eb](aa472eb))

### Features

* Improve Fingerprint API ([#316](#316)) ([0abf1c6](0abf1c6))
* Improve various APIs  ([#317](#317)) ([b824978](b824978))

### BREAKING CHANGES

* Various APIs have been changed.
* Many APIs have been changed.
oSumAtrIX pushed a commit that referenced this pull request Nov 5, 2024
# [21.0.0-dev.1](v20.0.2...v21.0.0-dev.1) (2024-10-27)

### Bug Fixes

* Merge extension only when patch executes ([#315](#315)) ([aa472eb](aa472eb))

### Features

* Improve Fingerprint API ([#316](#316)) ([0abf1c6](0abf1c6))
* Improve various APIs  ([#317](#317)) ([b824978](b824978))

### BREAKING CHANGES

* Various APIs have been changed.
* Many APIs have been changed.
github-actions bot pushed a commit that referenced this pull request Nov 5, 2024
# [21.0.0](v20.0.2...v21.0.0) (2024-11-05)

### Bug Fixes

* Match fingerprint before delegating the match property ([5d996de](5d996de))
* Merge extension only when patch executes ([#315](#315)) ([aa472eb](aa472eb))

### Features

* Improve Fingerprint API ([#316](#316)) ([0abf1c6](0abf1c6))
* Improve various APIs  ([#317](#317)) ([b824978](b824978))
* Move fingerprint match members to fingerprint for ease of access by using context receivers ([0746c22](0746c22))

### Performance Improvements

* Use smallest lookup map for strings ([1358d3f](1358d3f))

### BREAKING CHANGES

* Various APIs have been changed.
* Many APIs have been changed.
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