Verified Commit 5276839b authored by
Don't clone when finding binding parents
Cloning bindings when traversing their ancestors is expensive when done often enough. Using references is an easy way to work around this, at the cost of requiring two methods: Binding::find_parent() and Binding::find_parent_mut().
Showing with 26 additions and 14 deletions