flocks.js
flocks.js copied to clipboard
Add state change counter to allow trivially cheap dirty checking
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
At what point does it become simpler to do something immutable? :P
Basically never.