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

LiteDBStore.StoreStateReference() appends entries in an inefficient way #395

Closed
dahlia opened this issue Aug 5, 2019 · 0 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dahlia
Copy link
Contributor

dahlia commented Aug 5, 2019

The current implementation of LiteDBStore.StoreStateReference() method reads all the existing set and then appends a new entry to the set in memory, and then replaces the entire set with a new entire set. This should be replaced by an efficient append operation.

@dahlia dahlia added the bug Something isn't working label Aug 5, 2019
@dahlia dahlia added this to the 0.5.0 milestone Aug 5, 2019
@dahlia dahlia self-assigned this Aug 5, 2019
dahlia added a commit to dahlia/libplanet that referenced this issue Aug 5, 2019
dahlia added a commit to dahlia/libplanet that referenced this issue Aug 6, 2019
dahlia added a commit to dahlia/libplanet that referenced this issue Aug 6, 2019
@dahlia dahlia closed this as completed Aug 6, 2019
longfin pushed a commit to longfin/libplanet.net that referenced this issue Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant