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

Add state change counter to allow trivially cheap dirty checking #64

Open
StoneCypher opened this issue Apr 7, 2015 · 2 comments
Open

Comments

@StoneCypher
Copy link
Owner

Then just increment it on change, so that other things can use it like a dirty bit

Thanks @dandelany for the idea and @leebyron for the subsequent discussion

@jtremback
Copy link

At what point does it become simpler to do something immutable? :P

@StoneCypher
Copy link
Owner Author

Basically never.

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

2 participants