web2project/web2project — pull request #249 by opto (2014-04-11 21:13:04+00:00)
Title: CTask::canAccess() speed optimisation

see forums. http://support.web2project.net/questions/908/calendar-problems-in-recent-32.html#answer-909
This gives a 20% SPEED IMPROVEMENT DUe to a redundant CTask->load which is no longer executed.

Still, this is unusable in production, I am participant to many tasks and the page took 60s in 3.0.00, now it breaks the 3 min execution time.

even the example in the forum (see screenshot in forum showing no of tasks) takes 36s after optimisation, does 7200 queries (??) and ACL take 17 s.