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

Only calculate whether callbacks need to be fired if callbacks have been registered #36

Open
justincy opened this issue Apr 3, 2015 · 0 comments

Comments

@justincy
Copy link
Member

justincy commented Apr 3, 2015

Just an optimization. Some of the relationship callbacks require quite a few calculations to determine whether they need to be called. We could easily short-circuit all that if there aren't any callbacks registered. Could make a big difference over time with large traversals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant