View Single Post
Ah, yes. With a complex database (lots of folders and projects), the necessary recursion can be slow. Looping over the matched projects is also slow.

If you're willing to split your script into multiple separate ones, it would be much faster to use the shouldProjectBeIncluded method to just select a single project kind (e.g., on hold), then just display the count of theMatchedProjects in handleProjects.
__________________
Cheers,

Curt