Skip to content
New issue

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

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

Already on GitHub? # to your account

Compute changeset in the background #127

Open
2 tasks done
PhilippeWeidmann opened this issue May 3, 2021 · 0 comments
Open
2 tasks done

Compute changeset in the background #127

PhilippeWeidmann opened this issue May 3, 2021 · 0 comments

Comments

@PhilippeWeidmann
Copy link

PhilippeWeidmann commented May 3, 2021

Checklist

Expected Behavior

We have to compute a large difference set ~50k elements, to do this we create a StagedChangeset in a background queue to avoid freezing the main thread. Is it okay to do it like this ? (We didn't encounter any issue but we were wondering is it was correct)
Now our issue is that the diffing process in a background queue is using too much memory. We placed an autoreleasepool around the check block in isContentEqual and this resolves the issue but we were wondering if maybe it wasn't something that you would potentially fix on your side ?

Environment

  • Library version: 1.1.5

  • Swift version: 5.3

  • iOS version: 14.5

  • Xcode version: 12.5

  • Devices/Simulators: iPhone 12

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant