Current realization makes full recalculation of node count during install and makes it relatively fast (about 10 seconds). But during single node edit module uses same algorithm and makes unnecessary big queries.
I have about 0.5-1.5 seconds longer page load with this module enabled on site with 5-levels nested vocabulary and about 900 nodes.

I suggest to use simple "set count = count +1" (or -1) for added and removed terms for nodeapi.
This terms information is already collected in term_node_count_nodeapi() and we can achieve better performance without full module rewrite.

I will try to implement this feature in month or two, while my project keeps growing.

Comments

lucascaro’s picture

seconded

kenorb’s picture

Any progress on implementation this?

kenorb’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 6 is no longer officially supported. If you think this issue is still relevant for 8.x, feel free to re-open.