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

Keep cache of non-deleted objects with fast lookup, thread-safety #12

Closed
dankamongmen opened this issue Oct 30, 2019 · 1 comment
Closed
Assignees
Labels
enhancement new functionality
Milestone

Comments

@dankamongmen
Copy link
Owner

Now that we're collecting all the various events and can index quickly into them, we need keep a cache. That's pretty trivial; the bigger issue is how to let the calling program share our objects. Can they only copy them out, and they are responsible for killing them off on a deletion event? That seems one sane way, and fine-grained locking with accessors makes the simple case simple. So do both.

@dankamongmen dankamongmen self-assigned this Oct 30, 2019
@dankamongmen dankamongmen added this to the 1.0.0 milestone Oct 30, 2019
@dankamongmen dankamongmen added the enhancement new functionality label Oct 30, 2019
dankamongmen added a commit that referenced this issue Nov 1, 2019
dankamongmen added a commit that referenced this issue Nov 1, 2019
@dankamongmen
Copy link
Owner Author

We need add some unit tests for this, and I think we'll be ready to go? Also need to make deep copy work by turning pointers into offsets viz the rtablock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new functionality
Projects
None yet
Development

No branches or pull requests

1 participant