liqd / adhocracy

Adhocracy is a policy drafting and decision making software for distributed groups and open institutions.
GNU Affero General Public License v3.0
150 stars 37 forks source link

Avoid uneccessary delegateable invalidation #876

Closed xi closed 10 years ago

xi commented 10 years ago

When invalidating instances, each delegeteable in that instance is invalidated. So there is no need to invalidate the parent delegateables or the instance again.

I guess more optimization could be done here. This speed up proposal creation by about 15x on my test installation.

nidico commented 10 years ago

Very nice. In my setup it feels like a factor 2, but that's also pretty good. I agree that there's certainly more room for optimization in this area.