It's really not meant to be something to use in production. It was fun to run with it, but you're absolutely right. In fact, if you look at my Cortex example I do just that. You will most likely want to use a data structure that knows when something's changed anyway.
But it was a neat way to go from something very simple to more complex.
But it was a neat way to go from something very simple to more complex.