-
Notifications
You must be signed in to change notification settings - Fork 0
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
Improve fast checking for empty objects #23
Comments
TLDR; Some updates after pairing session two: Second, the above code idea to track
Third: The
|
In pairing with @justinbmeyer we found that overwriting an object property on a ViewModel was very slow to cleanup the old prop value. Main symptom was
can-reflect
iterating 500k times to tear down bindings and the final 'real' solution was to improvecan-key-tree
's ability to know thesize
of the bindings to be cleaned up, and also do betterFast Checking
of empty objects (see this link: http://js-unit-testing.com/2013/05/10/fast-checking-for-empty-objects-in-javascript/)His quick notes of possible solution here (Justin please fix the lingo above as needed):
The text was updated successfully, but these errors were encountered: