You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.
I am working on the performance issue for two weeks but end up found that this encryption is quite time consuming and will block the UI if the data is very large
The text was updated successfully, but these errors were encountered:
@xingsuo Yea, unfortunately encryption/decryption can be quite slow.
Ideally you would need to do the encryption/decryption asynchronously in order to not block the UI thread, but right now async support isn't working.
Part of the problem is that (at least when it was implemented), redux-persist didn't support a Promise-based API to allow for asynchronous encryption/decryption. I have not looked to see if that situation has changed at all.
@maxdeviant Thanks for the quick response and explanation. I am wondering if there is a way to control the timing of the encryption/decryption? Because I am thinking if it's possible I can just put it while the UI is free, such as onLoading or onClose of the app.
I am working on the performance issue for two weeks but end up found that this encryption is quite time consuming and will block the UI if the data is very large
The text was updated successfully, but these errors were encountered: