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

Instead of gc-ing previous revisions of nodes, record their address in the heap with a new slot in the base NODE class. #19

Open
kraison opened this issue Dec 2, 2016 · 0 comments

Comments

@kraison
Copy link
Owner

kraison commented Dec 2, 2016

VG was intended to mimic couchdb's behavior of keeping old revisions of nodes around until manually garbage collected, or perhaps until some condition is triggered. It would be a simple matter to add an PREVIOUS-REVISION-POINTER field to the NODE base class and write the address of the old node to the heap with the new revision.

@kraison kraison changed the title Instead of gc-ing previous revisions of nodes, instead record their address in the heap with a new slot in the base NODE class. Instead of gc-ing previous revisions of nodes, record their address in the heap with a new slot in the base NODE class. Dec 14, 2016
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

No branches or pull requests

1 participant